[PATCH v2 0/2] meson-mx-sdhc card busy detection fixes

From: Martin Blumenstingl
Date: Thu Apr 16 2020 - 14:37:43 EST


The following errors were observed with Linux 5.7-rc1 and an SD card
hooked up to the meson-mx-sdio controller:
mmc1: Card stuck being busy! __mmc_poll_for_busy
blk_update_request: I/O error, dev mmcblk1, sector 17111080 op
0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 0


At least patch #1 should go to a -fixes branch so it can make it
into v5.7.


Changes since v1 at [0]:
- added correct Fixes tag for patch #1
- added a patch which drops the ->card_busy() implementation from
the meson-mx-sdio driver because this is not working
- special thanks to Ulf for taking the time to provide debug
patches, explaining things and answering my questions!


[0] https://patchwork.kernel.org/patch/11483621/


Martin Blumenstingl (2):
mmc: meson-mx-sdio: Set MMC_CAP_WAIT_WHILE_BUSY
mmc: meson-mx-sdio: remove the broken ->card_busy() op

drivers/mmc/host/meson-mx-sdio.c | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)

--
2.26.1