summaryrefslogtreecommitdiffstats
path: root/drivers/pnp
diff options
context:
space:
mode:
authorKishon Vijay Abraham I2015-08-27 11:13:59 +0200
committerUlf Hansson2015-08-27 14:54:06 +0200
commit229f329265d6d2a738fc861b7b9b6144980580f6 (patch)
tree151916f2acce6711a5cd974ba9d3a60065c99e7d /drivers/pnp
parentmmc: host: omap_hsmmc: remove unnecessary pbias set_voltage (diff)
downloadkernel-qcow2-linux-229f329265d6d2a738fc861b7b9b6144980580f6.tar.gz
kernel-qcow2-linux-229f329265d6d2a738fc861b7b9b6144980580f6.tar.xz
kernel-qcow2-linux-229f329265d6d2a738fc861b7b9b6144980580f6.zip
mmc: host: omap_hsmmc: return error if any of the regulator APIs fail
Return error if any of the regulator APIs (regulator_enable, regulator_disable, regulator_set_voltage) fails in omap_hsmmc_set_power to avoid undefined behavior. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Tested-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions