android_kernel_motorola_sm6375/drivers/mmc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Adrian Hunter 4f4ab50046 mmc: block: Fix CQE recovery reset success
commit a051246b786af7e4a9d9219cc7038a6e8a411531 upstream.

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: [email protected]
Signed-off-by: Adrian Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2022-06-14 18:12:02 +02:00
..
core mmc: block: Fix CQE recovery reset success 2022-06-14 18:12:02 +02:00
host mmc: jz4740: Apply DMA engine limits to maximum segment size 2022-06-14 18:11:26 +02:00
Kconfig
Makefile