summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorTim Kryger2014-05-07 00:57:01 +0200
committerChris Ball2014-05-13 00:08:24 +0200
commit4d1f52f9a9f9a63371dba589093b3ae90fc80c3d (patch)
treec79807df571fa6b0dd63abba62b8e1ccc92ca463 /MAINTAINERS
parentmmc: mxcmmc: Use mmc_regulator_get_supply() API (diff)
downloadkernel-qcow2-linux-4d1f52f9a9f9a63371dba589093b3ae90fc80c3d.tar.gz
kernel-qcow2-linux-4d1f52f9a9f9a63371dba589093b3ae90fc80c3d.tar.xz
kernel-qcow2-linux-4d1f52f9a9f9a63371dba589093b3ae90fc80c3d.zip
mmc: core: Improve support for deferred regulators
Callers of mmc_regulator_get_supply could benefit from knowing if either of the regulators are present but not yet available. Since callers do not currently examine the return value, modify this function to return zero or -EPROBE_DEFER if either regulator get returns the same. Furthermore, since callers check vmmc/vqmmc using IS_ERR and can deal with absent regulators, switch to devm_regulator_get_optional. This has the added benefit of allowing this function to behave correctly even in the !CONFIG_REGULATOR case such that the stub can be removed. Signed-off-by: Tim Kryger <tim.kryger@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions