mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
This commit reintroduces interrupt-based card detection previously used in the rts5139 driver. This functionality was removed in commit00d8521dcd("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:00d8521dcd("staging: remove rts5139 driver code") Cc: [email protected] Cc: Arnd Bergmann <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Sean Rhodes <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>