mmc: sdhci: R1B command handling + MMC_CAP_ERASE.
authorAndrei Warkentin <andreiw@motorola.com>
Mon, 11 Apr 2011 21:13:42 +0000 (16:13 -0500)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 01:01:09 +0000 (21:01 -0400)
commita3c7778f8153b9e4eceea6738973280b9e63c618
tree73d81d32c5c4b06d76ae9f81b444cd6b08b7325e
parenteaa02f751ff4f8abfc2e55a15c20a5a274244418
mmc: sdhci: R1B command handling + MMC_CAP_ERASE.

ERASE command needs R1B response, so fix R1B-type command
handling for SDHCI controller. For non-DAT commands using a busy
response, the cmd->cmd_timeout_ms (in ms) field is used for timeout
calculations.

Based on patch by Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c