mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
sdhci: add no-card-no-reset quirk for Ricoh R5C822/Sony Z11
Card insertion detection is broken without this quirk on a Sony Vaio Z11, as discussed on linux-mmc here: http://marc.info/?t=125017355000008 Signed-off-by: Chris Ball <[email protected]> Tested-by: Norbert Preining <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
864f38ebdc
commit
c99436fb75
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue