linux_dsm_epyc7002/include/linux/mmc
Tim Kryger 4d1f52f9a9 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>
2014-05-12 18:08:24 -04:00
..
boot.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
card.h mmc: add support for HS400 mode of eMMC5.0 2014-05-12 18:06:06 -04:00
core.h mmc: core: Add ignore_crc flag to __mmc_switch 2014-02-23 10:40:30 -05:00
dw_mmc.h mmc: dw_mmc: remove unused member variable. 2014-05-12 18:04:33 -04:00
host.h mmc: core: Improve support for deferred regulators 2014-05-12 18:08:24 -04:00
mmc.h mmc: add support for HS400 mode of eMMC5.0 2014-05-12 18:06:06 -04:00
pm.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sd.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdhci-pci-data.h mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00
sdhci-spear.h mmc: sdhci-spear: remove support for power gpio 2014-03-04 16:28:44 -05:00
sdhci.h mmc: sdhci: add support for realtek rts5250 2014-02-22 13:19:40 -05:00
sdio_func.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdio_ids.h brcmfmac: add BCM4354 SDIO interface support 2014-03-17 13:44:14 -04:00
sdio.h mmc: sdio: fix setting card data bus width as 4-bit 2012-06-06 09:22:53 -04:00
sh_mmcif.h mmc: sh_mmcif: revision-specific CLK_CTRL2 handling 2013-08-25 00:10:18 -04:00
sh_mobile_sdhi.h mmc: sh_mobile_sdhi: Remove .set_pwr() callback from platform data 2013-08-24 23:58:10 -04:00
slot-gpio.h mmc: slot-gpio: Add GPIO descriptor based CD GPIO API 2014-03-17 09:12:00 -04:00
tmio.h mmc: SDHI: add SoC specific workaround via HW version 2014-01-13 12:48:24 -05:00