summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.h
diff options
context:
space:
mode:
authorYinbo Zhu <yinbo.zhu@nxp.com>2018-08-23 10:48:31 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2018-10-08 11:40:43 +0200
commit7d8bb1f46e1360a5c16d8addfc33f08089f8989d (patch)
tree588b9845dd1bd78bb0a4573827277005569cd8e9 /drivers/mmc/host/sdhci.h
parentmmc: uniphier-sd: add UniPhier SD/eMMC controller driver (diff)
downloadlinux-7d8bb1f46e1360a5c16d8addfc33f08089f8989d.tar.xz
linux-7d8bb1f46e1360a5c16d8addfc33f08089f8989d.zip
mmc: sdhci: add tuning error codes
This patch is to add tuning error codes to judge tuning state Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Acked-by: Adrian Hunter <adrian.hunter@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 f0bd36ce3817..bb8206a71920 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -554,6 +554,7 @@ struct sdhci_host {
unsigned int tuning_count; /* Timer count for re-tuning */
unsigned int tuning_mode; /* Re-tuning mode supported by host */
+ unsigned int tuning_err; /* Error code for re-tuning */
#define SDHCI_TUNING_MODE_1 0
#define SDHCI_TUNING_MODE_2 1
#define SDHCI_TUNING_MODE_3 2