]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drivers/card_reader/rtsx_usb: Restore interrupt based detection
authorSean Rhodes <sean@starlabs.systems>
Tue, 19 Nov 2024 08:58:15 +0000 (08:58 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Feb 2025 09:02:22 +0000 (10:02 +0100)
commit4652446429893195ba501d64967f09c81eb995bd
tree0eff1e546068ccb7b176a33eae8b59db45499cfc
parent0ce5c0dac768be14afe2426101b568a0f66bfc4d
drivers/card_reader/rtsx_usb: Restore interrupt based detection

commit 235b630eda072d7e7b102ab346d6b8a2c028a772 upstream.

This commit reintroduces interrupt-based card detection previously
used in the rts5139 driver. This functionality was removed in commit
00d8521dcd23 ("staging: remove rts5139 driver code").

Reintroducing this mechanism fixes presence detection for certain card
readers, which with the current driver, will taken approximately 20
seconds to enter S3 as `mmc_rescan` has to be frozen.

Fixes: 00d8521dcd23 ("staging: remove rts5139 driver code")
Cc: stable@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Link: https://lore.kernel.org/r/20241119085815.11769-1-sean@starlabs.systems
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/cardreader/rtsx_usb.c