]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d7408f9a38b108c1df9de68f1cc07efc7d8ff09
tree73d81d32c5c4b06d76ae9f81b444cd6b08b7325e
parenta527e415cda2c6f3586a40470987fe92af15b9d3
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