mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
mmc: sdhci-pci: remove SDHCI_QUIRK2_OWN_CARD_DETECTION
Even if a driver provides separate card detection, an interrupt is still needed to abort mmc requests that are in progress. SDHCI_QUIRK2_OWN_CARD_DETECTION prevents that, so remove it. Signed-off-by: Adrian Hunter <[email protected]> Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
c5e027a4a1
commit
e2a0a5829c
3 changed files with 0 additions and 4 deletions
|
|
@ -212,7 +212,6 @@ static void sdhci_pci_add_own_cd(struct sdhci_pci_slot *slot)
|
|||
|
||||
slot->cd_gpio = gpio;
|
||||
slot->cd_irq = irq;
|
||||
slot->host->quirks2 |= SDHCI_QUIRK2_OWN_CARD_DETECTION;
|
||||
|
||||
return;
|
||||
|
||||
|
|
|
|||
|
|
@ -147,7 +147,6 @@ static void sdhci_set_card_detection(struct sdhci_host *host, bool enable)
|
|||
u32 present, irqs;
|
||||
|
||||
if ((host->quirks & SDHCI_QUIRK_BROKEN_CARD_DETECTION) ||
|
||||
(host->quirks2 & SDHCI_QUIRK2_OWN_CARD_DETECTION) ||
|
||||
!mmc_card_is_removable(host->mmc))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue