commit | b269197d6073b775fdab6e805f505c16b46f6830 | [log] [tgz] |
---|---|---|
author | Lokesh Vutla <lokeshvutla@ti.com> | Fri Jan 11 15:15:52 2019 +0530 |
committer | Simon Glass <sjg@chromium.org> | Sat Feb 09 12:50:22 2019 -0700 |
tree | 84c549f746ed0b600deedf86783738455e858497 | |
parent | 7106b78acdfa6b076d106b32c302066140c95ce1 [diff] |
mmc: omap_hsmmc: Use regulator_set_enable_if_allowed for enabling regulator Use regulator_set_enable_if_allowed() api instead of regulator_set_enable() while enabling io regulators. This way the driver doesn't see an error when disabling an always-on regulator and when enabling is not supported. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>