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)
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

Simple merge
Simple merge