Re: [PATCH] regulator: core: don't disable regulator if is_enabled return error.

2020-11-10 Thread Mark Brown
On Fri, 6 Nov 2020 14:48:17 +0800, Pi-Hsun Shih wrote: > In regulator_late_cleanup when is_enabled failed, don't try to disable > the regulator since it would likely to fail too and causing confusing > error messages. Applied to

[PATCH] regulator: core: don't disable regulator if is_enabled return error.

2020-11-05 Thread Pi-Hsun Shih
In regulator_late_cleanup when is_enabled failed, don't try to disable the regulator since it would likely to fail too and causing confusing error messages. Signed-off-by: Pi-Hsun Shih --- This is encountered while using drivers/regulator/cros-ec-regulator.c. Since the driver controls the