WSL2-Linux-Kernel/drivers/mmc/core
Ulf Hansson 533a6cfe08 mmc: core: Default to generic_cmd6_time as timeout in __mmc_switch()
All callers of __mmc_switch() should now be specifying a valid timeout for
the CMD6 command. However, just to be sure, let's print a warning and
default to use the generic_cmd6_time in case the provided timeout_ms
argument is zero.

In this context, let's also simplify some of the corresponding code and
clarify some related comments.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20200122142747.5690-4-ulf.hansson@linaro.org
2020-01-24 12:17:05 +01:00
..
Kconfig
Makefile
block.c mmc: block: Use generic_cmd6_time when modifying INAND_CMD38_ARG_EXT_CSD 2020-01-24 12:16:05 +01:00
block.h
bus.c
bus.h
card.h
core.c mmc: core: limit probe clock frequency to configured f_max 2020-01-20 11:54:45 +01:00
core.h
debugfs.c
host.c mmc: core: Remove mmc_gpiod_request_*(invert_gpio) 2019-12-18 13:37:07 +01:00
host.h
mmc.c
mmc_ops.c mmc: core: Default to generic_cmd6_time as timeout in __mmc_switch() 2020-01-24 12:17:05 +01:00
mmc_ops.h
mmc_test.c
pwrseq.c
pwrseq.h
pwrseq_emmc.c
pwrseq_sd8787.c
pwrseq_simple.c
queue.c
queue.h
quirks.h
regulator.c
sd.c
sd.h
sd_ops.c
sd_ops.h
sdio.c
sdio_bus.c
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c
sdio_irq.c
sdio_ops.c
sdio_ops.h
sdio_uart.c
slot-gpio.c mmc: core: Remove mmc_gpiod_request_*(invert_gpio) 2019-12-18 13:37:07 +01:00
slot-gpio.h