]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: Auto-CMD23 fixes.
authorAndrei Warkentin <andreiw@motorola.com>
Wed, 25 May 2011 14:42:50 +0000 (10:42 -0400)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 20:52:26 +0000 (16:52 -0400)
commit906069a443c27ecfdfb937b18efade0cf8217c89
tree26018537aaea287e7aa6377e2305a4222699b8d7
parentc7bc252ff0214b526d2d08a8b0949cdee3a444ba
mmc: sdhci: Auto-CMD23 fixes.

Fixes bugs in Auto-CMD23 feature enable decision. Auto-CMD23
should be enabled if host is >= v3, and SDMA is not in use.

USE_ADMA | USE_SDMA | Auto-CMD23
---------+----------+-----------
    0    |    0     |     1
---------+----------+-----------
    0    |    1     |     0
---------+----------+-----------
    1    |    0     |     1
---------+----------+-----------
    1    |    1     |     1

Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c