mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 20:40:53 +07:00
4d1f52f9a9
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> |
||
---|---|---|
.. | ||
boot.h | ||
card.h | ||
core.h | ||
dw_mmc.h | ||
host.h | ||
mmc.h | ||
pm.h | ||
sd.h | ||
sdhci-pci-data.h | ||
sdhci-spear.h | ||
sdhci.h | ||
sdio_func.h | ||
sdio_ids.h | ||
sdio.h | ||
sh_mmcif.h | ||
sh_mobile_sdhi.h | ||
slot-gpio.h | ||
tmio.h |