PCI: Reduce Ricoh 0xe822 SD card reader base clock frequency to 50MHz
authorAndy Lutomirski <luto@amacapital.net>
Sat, 1 Dec 2012 20:37:20 +0000 (12:37 -0800)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 16 Jan 2013 01:13:13 +0000 (01:13 +0000)
commitfb7e3f1041cc0cce482e001d62bd9a32f9e7b689
treecf2c02d4268306027cb1d970abc530a3b0b11c4e
parentad74aa67b8cf06b159cf72b08efe42533db49685
PCI: Reduce Ricoh 0xe822 SD card reader base clock frequency to 50MHz

commit 812089e01b9f65f90fc8fc670d8cce72a0e01fbb upstream.

Otherwise it fails like this on cards like the Transcend 16GB SDHC card:

    mmc0: new SDHC card at address b368
    mmcblk0: mmc0:b368 SDC   15.0 GiB
    mmcblk0: error -110 sending status command, retrying
    mmcblk0: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb0

Tested on my Lenovo x200 laptop.

[bhelgaas: changelog]
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Chris Ball <cjb@laptop.org>
CC: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/pci/quirks.c
include/linux/pci_ids.h