diff options
author | Yinbo Zhu <yinbo.zhu@nxp.com> | 2018-08-23 11:48:31 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-10-08 12:40:43 +0300 |
commit | 7d8bb1f46e1360a5c16d8addfc33f08089f8989d (patch) | |
tree | 588b9845dd1bd78bb0a4573827277005569cd8e9 /drivers/mmc/host/sdhci.h | |
parent | 3fd784f745dd1747863775a99ec749619ee6759c (diff) | |
download | linux-7d8bb1f46e1360a5c16d8addfc33f08089f8989d.tar.xz |
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.h | 1 |
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 |