commit | d3de38554a35e96872e43644b683e32f018c46a8 | [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 | cc4a224af226b2ea818d32af26742aaad8a3983e [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>