android_kernel_motorola_sm6375/drivers/mmc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Haibo Chen 592b179fa1 mmc: sdhci: do not enable card detect interrupt for gpio cd type
[ Upstream commit e65bb38824711559844ba932132f417bc5a355e2 ]

Except SDHCI_QUIRK_BROKEN_CARD_DETECTION and MMC_CAP_NONREMOVABLE,
we also do not need to handle controller native card detect interrupt
for gpio cd type.
If we wrong enabled the card detect interrupt for gpio case, it will
cause a lot of unexpected card detect interrupts during data transfer
which should not happen.

Signed-off-by: Haibo Chen <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2020-07-22 09:32:59 +02:00
..
core mmc: sdio: Fix several potential memory leaks in mmc_sdio_init_card() 2020-06-17 16:40:38 +02:00
host mmc: sdhci: do not enable card detect interrupt for gpio cd type 2020-07-22 09:32:59 +02:00
Kconfig
Makefile