[lkml]   [2012]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[ 62/73] mmc: sdhci-pci: CaFe has broken card detection
3.2-stable review patch.  If anyone has any objections, please let me know.

From: Daniel Drake <>

commit 55fc05b7414274f17795cd0e8a3b1546f3649d5e upstream.

At 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
Thanks to Chris Ball for helping with diagnosis.

Signed-off-by: Daniel Drake <>
[stable@: please apply to 3.0+]
Signed-off-by: Chris Ball <>
Signed-off-by: Ben Hutchings <>
drivers/mmc/host/sdhci-pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index 69ef0be..504da71 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -157,6 +157,7 @@ static const struct sdhci_pci_fixes sdhci_ene_714 = {
static const struct sdhci_pci_fixes sdhci_cafe = {

 \ /
  Last update: 2012-07-31 08:41    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean