summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.h
diff options
context:
space:
mode:
authorYi Sun2014-09-09 04:13:59 +0200
committerUlf Hansson2014-09-24 11:03:17 +0200
commit7756a96d1617753d8387e59e0ba410e0dd512be4 (patch)
tree55686d4c3b43cbbb8726b4da6698f395b81cdc0a /drivers/mmc/host/sdhci.h
parentmmc: atmel-mci: Release mmc resources on failure in probe (diff)
downloadkernel-qcow2-linux-7756a96d1617753d8387e59e0ba410e0dd512be4.tar.gz
kernel-qcow2-linux-7756a96d1617753d8387e59e0ba410e0dd512be4.tar.xz
kernel-qcow2-linux-7756a96d1617753d8387e59e0ba410e0dd512be4.zip
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>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r--drivers/mmc/host/sdhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index 9828ff83d84c..31896a779d4e 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -72,6 +72,7 @@
#define SDHCI_WRITE_PROTECT 0x00080000
#define SDHCI_DATA_LVL_MASK 0x00F00000
#define SDHCI_DATA_LVL_SHIFT 20
+#define SDHCI_DATA_0_LVL_MASK 0x00100000
#define SDHCI_HOST_CONTROL 0x28
#define SDHCI_CTRL_LED 0x01