sony-vaio-z-series team mailing list archive
-
sony-vaio-z-series team
-
Mailing list archive
-
Message #00549
Re: Problem with Ricoh SD/MMC Card Reader - Vaio VGN-Z540 - kernel 2.6.30
On Fr, 25 Sep 2009, Lucas Zinato Carraro wrote:
> [ 2836.677835] mmc0: Reset 0x1 never completed.
You need the patch I have posted to this list several times. It will
arrive sooner or later in vanilla kernel.
Attached again.
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@xxxxxxxx> Vienna University of Technology
Debian Developer <preining@xxxxxxxxxx> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
ALLTAMI (n.)
The ancient art of being able to balance the hot and cold shower taps.
--- Douglas Adams, The Meaning of Liff
From: Chris Ball <cjb@xxxxxxxxxx>
Date: Thu, 13 Aug 2009 16:13:37 -0400
Subject: [PATCH] Add no-reset-no-card quirk for Ricoh R5C822 on Sony laptops.
As reported here, card insertion detection is broken without this quirk
on a Sony Vaio Z11: http://marc.info/?l=linux-mmc&r=1&b=200908&w=2
Signed-off-by: Chris Ball <cjb@xxxxxxxxxx>
Cc: Pierre Ossman <pierre@xxxxxxxxx>
---
drivers/mmc/host/sdhci-pci.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index 2f15cc1..63b9d2a 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -83,7 +83,8 @@ static int ricoh_probe(struct sdhci_pci_chip *chip)
if (chip->pdev->subsystem_vendor == PCI_VENDOR_ID_IBM)
chip->quirks |= SDHCI_QUIRK_CLOCK_BEFORE_RESET;
- if (chip->pdev->subsystem_vendor == PCI_VENDOR_ID_SAMSUNG)
+ if (chip->pdev->subsystem_vendor == PCI_VENDOR_ID_SAMSUNG ||
+ chip->pdev->subsystem_vendor == PCI_VENDOR_ID_SONY)
chip->quirks |= SDHCI_QUIRK_NO_CARD_NO_RESET;
return 0;
References