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)
commit4f3d3e9b50931a3ec70f324d53fb7437e2a39388
tree26018537aaea287e7aa6377e2305a4222699b8d7
parent8edf63710bd43e62d59bfe017df542fa0713bbb3
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