linux_dsm_epyc7002/drivers/mmc/core
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
..
bus.c mmc: add support for HS400 mode of eMMC5.0 2014-05-12 18:06:06 -04:00
bus.h
core.c mmc: core: Improve support for deferred regulators 2014-05-12 18:08:24 -04:00
core.h
debugfs.c mmc: add support for HS400 mode of eMMC5.0 2014-05-12 18:06:06 -04:00
host.c mmc: core: add DT bindings for eMMC HS400 1.8/1.2V 2014-05-12 18:08:10 -04:00
host.h
Kconfig mmc: core: Use MMC_UNSAFE_RESUME as default behavior 2014-02-13 22:58:15 -05:00
Makefile
mmc_ops.c mmc: core: Fixup busy detection for mmc switch operations 2014-02-23 10:40:38 -05:00
mmc_ops.h
mmc.c mmc: add support for HS400 mode of eMMC5.0 2014-05-12 18:06:06 -04:00
quirks.c mmc: sdio: add a quirk for broken SDIO_CCCR_INTx polling 2014-01-17 22:55:01 -05:00
sd_ops.c
sd_ops.h
sd.c mmc: drop the speed mode of card's state 2014-05-12 18:05:53 -04:00
sd.h mmc: drop the speed mode of card's state 2014-05-12 18:05:53 -04:00
sdio_bus.c mmc: core: Invoke sdio func driver's PM callbacks from the sdio bus 2014-04-22 07:06:40 -04:00
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c
sdio_irq.c mmc: sdio: add a quirk for broken SDIO_CCCR_INTx polling 2014-01-17 22:55:01 -05:00
sdio_ops.c
sdio_ops.h
sdio.c mmc: drop the speed mode of card's state 2014-05-12 18:05:53 -04:00
slot-gpio.c mmc: Delay the card_event callback into the mmc_rescan worker 2014-04-22 07:06:36 -04:00