diff options
author | Aries Lee | 2010-12-15 08:14:24 +0100 |
---|---|---|
committer | Chris Ball | 2011-01-09 05:52:09 +0100 |
commit | 22113efd00491310da802f3b1a9a66cfcf415fac (patch) | |
tree | 1faf6e99a591f9b6856bab6c8318eeeacb076051 /drivers/mmc/host/sdhci-pci.c | |
parent | mmc: fix detection of memory part of SD-combo card with broken SDIO (diff) | |
download | kernel-qcow2-linux-22113efd00491310da802f3b1a9a66cfcf415fac.tar.gz kernel-qcow2-linux-22113efd00491310da802f3b1a9a66cfcf415fac.tar.xz kernel-qcow2-linux-22113efd00491310da802f3b1a9a66cfcf415fac.zip |
mmc: Test bus-width for old MMC devices
Some old MMC devices fail with the 4/8 bits the driver tries to use
exclusively. This patch adds a test for the given bus setup and falls
back to the lower bit mode (until 1-bit mode) when the test fails.
[Major rework and refactoring by tiwai]
[Quirk addition and many fixes by prakity]
Signed-off-by: Aries Lee <arieslee@jmicron.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Philip Rakity <prakity@marvell.com>
Tested-by: Philip Rakity <prakity@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci.c')
0 files changed, 0 insertions, 0 deletions