
10 Jan
2019
10 Jan
'19
1:56 p.m.
On Sun, 6 Jan 2019 at 23:13, Lokesh Vutla lokeshvutla@ti.com wrote:
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.
Signed-off-by: Lokesh Vutla lokeshvutla@ti.com
drivers/mmc/omap_hsmmc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org