Skip to content
Snippets Groups Projects
Commit d3de3855 authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent cc4a224a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment