mmc: sdhci-esdhc-imx: fix the mask for tuning start point
authorHaibo Chen <haibo.chen@nxp.com>
Tue, 26 May 2020 10:22:01 +0000 (18:22 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 29 May 2020 10:38:00 +0000 (12:38 +0200)
commit1194be8c949b8190b2882ad8335a5d98aa50c735
tree349121ae803561430dbc2c93a6fb1e2cb7d9d9ea
parentf61404626113080863c904a459576ba0c03a49ba
mmc: sdhci-esdhc-imx: fix the mask for tuning start point

According the RM, the bit[6~0] of register ESDHC_TUNING_CTRL is
TUNING_START_TAP, bit[7] of this register is to disable the command
CRC check for standard tuning. So fix it here.

Fixes: d87fc9663688 ("mmc: sdhci-esdhc-imx: support setting tuning start point")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://lore.kernel.org/r/1590488522-9292-1-git-send-email-haibo.chen@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c