Commit 55fc05b7414274f17795cd0e8a3b1546f3649d5e
Committed by
Chris Ball
1 parent
0fc81ee310
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
mmc: sdhci-pci: CaFe has broken card detection
At http://dev.laptop.org/ticket/11980 we have determined that the Marvell CaFe SDHCI controller reports bad card presence during resume. It reports that no card is present even when it is. This is a regression -- resume worked back around 2.6.37. Around 400ms after resuming, a "card inserted" interrupt is generated, at which point it starts reporting presence. Work around this hardware oddity by setting the SDHCI_QUIRK_BROKEN_CARD_DETECTION flag. Thanks to Chris Ball for helping with diagnosis. Signed-off-by: Daniel Drake <dsd@laptop.org> [stable@: please apply to 3.0+] Cc: <stable@vger.kernel.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
drivers/mmc/host/sdhci-pci.c