mirror-linux/drivers/mmc/core
Adrian Hunter a051246b78 mmc: block: Fix CQE recovery reset success
The intention of the use of mmc_blk_reset_success() in
mmc_blk_cqe_recovery() was to prevent repeated resets when retrying and
getting the same error. However, that may not be the case - any amount
of time and I/O may pass before another recovery is needed, in which
case there would be no reason to deny it the opportunity to recover via
a reset if necessary. CQE recovery is expected seldom and failure to
recover (if the clear tasks command fails), even more seldom, so it is
better to allow the reset always, which can be done by calling
mmc_blk_reset_success() always.

Fixes: 1e8e55b670 ("mmc: block: Add CQE support")
Cc: stable@vger.kernel.org
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20220531171922.76080-1-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2022-06-01 14:22:51 +02:00
..
Kconfig
Makefile
block.c mmc: block: Fix CQE recovery reset success 2022-06-01 14:22:51 +02:00
block.h
bus.c mmc: core: use sysfs_emit() instead of sprintf() 2022-02-28 13:06:23 +01:00
bus.h mmc: core: use sysfs_emit() instead of sprintf() 2022-02-28 13:06:23 +01:00
card.h
core.c mmc: improve API to make clear hw_reset callback is for cards 2022-04-26 14:05:20 +02:00
core.h
crypto.c
crypto.h
debugfs.c
host.c mmc: core: Drop HS400 caps unless 8-bit bus is supported too 2022-03-15 10:25:21 +01:00
host.h
mmc.c mmc: core: Add CIDs for cards to the entropy pool 2022-04-26 15:39:37 +02:00
mmc_ops.c mmc: core: Fix busy polling for MMC_SEND_OP_COND again 2022-05-19 15:46:46 +02:00
mmc_ops.h mmc: core: Restore (almost) the busy polling for MMC_SEND_OP_COND 2022-03-07 11:47:39 +01:00
mmc_test.c mmc: core: improve API to make clear mmc_hw_reset is for cards 2022-04-08 11:00:08 +02:00
pwrseq.c
pwrseq.h
pwrseq_emmc.c
pwrseq_sd8787.c
pwrseq_simple.c
queue.c MMC core: 2022-05-24 14:56:38 -07:00
queue.h
quirks.h staging: wfx: apply the necessary SDIO quirks for the Silabs WF200 2022-02-17 15:58:48 +01:00
regulator.c
sd.c mmc: core: Add CIDs for cards to the entropy pool 2022-04-26 15:39:37 +02:00
sd.h
sd_ops.c
sd_ops.h
sdio.c mmc: core: use sysfs_emit() instead of sprintf() 2022-02-28 13:06:23 +01:00
sdio_bus.c mmc: core: use sysfs_emit() instead of sprintf() 2022-02-28 13:06:23 +01:00
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c
sdio_irq.c
sdio_ops.c
sdio_ops.h
sdio_uart.c sdio_uart: make use of UART_LCR_WLEN() + tty_get_char_size() 2022-02-28 22:17:21 +01:00
slot-gpio.c
slot-gpio.h