From: Aries Lee Date: Wed, 15 Dec 2010 07:14:24 +0000 (+0100) Subject: mmc: Test bus-width for old MMC devices X-Git-Tag: v2.6.38-rc1~418^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22113efd00491310da802f3b1a9a66cfcf415fac;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai Signed-off-by: Philip Rakity Tested-by: Philip Rakity Signed-off-by: Chris Ball --- Reading git-diff-tree failed