linux-stable/drivers/mmc
Haibo Chen 4b4801c57d mmc: sdhci: do not enable card detect interrupt for gpio cd type
[ Upstream commit e65bb38824 ]

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 <haibo.chen@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/1582100563-20555-2-git-send-email-haibo.chen@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-07-22 09:22:23 +02:00
..
core mmc: sdio: Fix potential NULL pointer error in mmc_sdio_init_card() 2020-06-20 10:25:06 +02:00
host mmc: sdhci: do not enable card detect interrupt for gpio cd type 2020-07-22 09:22:23 +02:00
Kconfig mmc: Kconfig: downgrade CONFIG_MMC_DEBUG for host drivers only 2017-08-30 14:01:34 +02:00
Makefile mmc: Kconfig: downgrade CONFIG_MMC_DEBUG for host drivers only 2017-08-30 14:01:34 +02:00