]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: usdhi6rol0: handle probe deferral for regulator
authorRabin Vincent <rabin.vincent@axis.com>
Wed, 19 Aug 2015 13:41:34 +0000 (15:41 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 27 Aug 2015 12:50:54 +0000 (14:50 +0200)
commit9f591fc30c5bf0a3973fc24097961352452ae28e
treede99f644681ea43382678c06109917390a5a2e38
parent5c6b259801cf6138b8cc8ac26cba749defb4c482
mmc: usdhi6rol0: handle probe deferral for regulator

We ignore errors from mmc_regulator_get_supply() because the usage of
the regulators is optional for the driver, but we still need to check
for and handle EPROBE_DEFER, like it's done in for example dw_mmc.
Otherwise we might end up not using the specified regulators just
because of probe order.

Signed-off-by: Rabin Vincent <rabin.vincent@axis.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/usdhi6rol0.c