]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: execute tuning when device is not busy
authorYi Sun <yi.y.sun@intel.com>
Tue, 9 Sep 2014 02:13:59 +0000 (02:13 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 24 Sep 2014 09:03:17 +0000 (11:03 +0200)
commit2b55200a22565badb71365bb1b6ed6628ec85316
tree55686d4c3b43cbbb8726b4da6698f395b81cdc0a
parentb429da41f474599799afb0ac82e615610225c607
mmc: sdhci: execute tuning when device is not busy

We find tuning timeout because of the secure erase operation lasts too
long, so don't do tuning when device is busy.

Signed-off-by: Yi Sun <yi.y.sun@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h