linux-uconsole/drivers/mmc/core
Chaotian Jing 12e8ae94b6 mmc: block: Add CMD13 polling for MMC IOCTLS with R1B response
commit a0d4c7eb71 upstream.

MMC IOCTLS with R1B responses may cause the card to enter the busy state,
which means it's not ready to receive a new request. To prevent new
requests from being sent to the card, use a CMD13 polling loop to verify
that the card returns to the transfer state, before completing the request.

Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-21 10:57:21 +01:00
..
block.c mmc: block: Add CMD13 polling for MMC IOCTLS with R1B response 2019-12-21 10:57:21 +01:00
block.h
bus.c
bus.h
card.h
core.c mmc: core: API to temporarily disable retuning for SDIO CRC errors 2019-06-25 11:35:53 +08:00
core.h mmc: core: Drop the unused mmc_power_save|restore_host() 2018-07-16 11:21:45 +02:00
debugfs.c
host.c mmc: core: Fix debounce time to use microseconds 2018-09-27 00:39:32 +02:00
host.h
Kconfig
Makefile
mmc.c mmc: core: complete HS400 before checking status 2019-07-14 08:11:13 +02:00
mmc_ops.c
mmc_ops.h
mmc_test.c
pwrseq.c
pwrseq.h
pwrseq_emmc.c mmc: core: make pwrseq_emmc (partially) support sleepy GPIO controllers 2019-05-31 06:46:22 -07:00
pwrseq_sd8787.c
pwrseq_simple.c
queue.c mmc: core: align max segment size with logical block size 2019-12-05 09:21:13 +01:00
queue.h mmc: block: Fix unsupported parallel dispatch of requests 2018-08-21 16:12:41 +02:00
quirks.h
sd.c mmc: core: Fix init of SD cards reporting an invalid VDD range 2019-09-06 10:22:17 +02:00
sd.h
sd_ops.c
sd_ops.h
sdio.c mmc: core: Prevent processing SDIO IRQs when the card is suspended 2019-06-25 11:35:53 +08:00
sdio_bus.c
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c mmc: core: Add sdio_retune_hold_now() and sdio_retune_release() 2019-06-25 11:35:53 +08:00
sdio_irq.c mmc: core: Clarify sdio_irq_pending flag for MMC_CAP2_SDIO_IRQ_NOTHREAD 2019-10-05 13:09:56 +02:00
sdio_ops.c
sdio_ops.h
sdio_uart.c
slot-gpio.c mmc: slot-gpio: Fix debounce time to use miliseconds again 2018-09-28 17:43:48 +02:00
slot-gpio.h