commit | c088a4985e5f6f6c2cbe5a6953357dfc30b7c57e | [log] [tgz] |
---|---|---|
author | Pi-Hsun Shih <pihsun@chromium.org> | Fri Nov 06 14:48:17 2020 +0800 |
committer | Mark Brown <broonie@kernel.org> | Tue Nov 10 17:27:42 2020 +0000 |
tree | dfec6e6cf41e9f64bffe6b07286c496757acfc68 | |
parent | cf1ad559a20d1930aa7b47a52f54e1f8718de301 [diff] |
regulator: core: don't disable regulator if is_enabled return error. 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 <pihsun@chromium.org> Link: https://lore.kernel.org/r/20201106064817.3290927-1-pihsun@chromium.org Signed-off-by: Mark Brown <broonie@kernel.org>