summaryrefslogtreecommitdiff
path: root/drivers/mmc/tmio-common.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2019-11-23 13:36:17 +0100
committerPeng Fan <peng.fan@nxp.com>2019-11-27 16:56:46 +0800
commit0196a58a792f37d2c80ba6a50f52da15950937c9 (patch)
treeeb48054b1309614e3d1b6f484b56dcdf2a9fdf91 /drivers/mmc/tmio-common.h
parent1eaffca076543addf86fc91778a0c9b9c7fcf3df (diff)
mmc: tmio: sdhi: Track current tap number in private data
Retain the tap number from last calibration in private data. This will be later used for SCC error checking after each command. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/mmc/tmio-common.h')
-rw-r--r--drivers/mmc/tmio-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/tmio-common.h b/drivers/mmc/tmio-common.h
index 51607de142..da89cc90c2 100644
--- a/drivers/mmc/tmio-common.h
+++ b/drivers/mmc/tmio-common.h
@@ -138,6 +138,7 @@ struct tmio_sd_priv {
#endif
#if CONFIG_IS_ENABLED(RENESAS_SDHI)
u8 tap_set;
+ u8 tap_num;
u8 nrtaps;
bool needs_adjust_hs400;
bool adjust_hs400_enable;