[PATCH 0/1] Bluetooth: btmrvl: Reset SDIO card on hang

From: Abhishek Pandit-Subedi
Date: Thu Mar 19 2020 - 22:02:04 EST



Hi Marcel,

This patch adds an error recovery mechanism to the btmrvl driver. We
have been using it on ChromeOS on kernel v4.19 and it has been on the
stable channel release of ChromeOS for a few months now.

A side effect of this change is that other functions on the same card
will be affected by the reset. The necessary patches to support this
reset have already been added to the mwifiex driver by Ulf:

11239229 New [v3,1/3] mwifiex: Re-work support for SDIO HW reset
11239233 New [v3,2/3] mmc: core: Drop check for mmc_card_is_removable() in mmc_rescan()
11239237 New [v3,3/3] mmc: core: Re-work HW reset for SDIO cards

You can see more information at crbug.com/1004473

Thanks
Abhishek



Matthias Kaehlcke (1):
Bluetooth: btmrvl: Detect hangs and force a reset of the SDIO card

drivers/bluetooth/btmrvl_sdio.c | 24 ++++++++++++++++++++++++
drivers/bluetooth/btmrvl_sdio.h | 1 +
2 files changed, 25 insertions(+)

--
2.25.1.696.g5e7596f4ac-goog