commit | 229f329265d6d2a738fc861b7b9b6144980580f6 | [log] [tgz] |
---|---|---|
author | Kishon Vijay Abraham I <kishon@ti.com> | Thu Aug 27 14:43:59 2015 +0530 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Thu Aug 27 14:54:06 2015 +0200 |
tree | 151916f2acce6711a5cd974ba9d3a60065c99e7d | |
parent | ef62b8bc2c740a7f72525a4797aa45056c833e3d [diff] |
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>