mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting
authorHaibo Chen <haibo.chen@nxp.com>
Wed, 7 Dec 2022 11:23:15 +0000 (19:23 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 Jan 2023 12:35:11 +0000 (13:35 +0100)
commit1e336aa0c0250ec84c6f16efac40c9f0138e367d
treebf97ba3c451913fb0ea828219a0053a15a99a534
parent88603b6dc419445847923fcb7fe5080067a30f98
mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting

Current code logic may be impacted by the setting of ROM/Bootloader,
so unmask these bits first, then setting these bits accordingly.

Fixes: 2b16cf326b70 ("mmc: sdhci-esdhc-imx: move tuning static configuration into hwinit function")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20221207112315.1812222-1-haibo.chen@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c