]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2023 06:52:42 +0000 (07:52 +0100)
commit8ed8a0b5c9bdef66c37b5354a7c4088ac749f6a1
tree32e7d414a2b0f3df8bc9e8942e13e91329ed331f
parent724d112d72d8547161557f20516580cd5381d776
mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting

[ Upstream commit 1e336aa0c0250ec84c6f16efac40c9f0138e367d ]

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

Fixes: 766a26d205aa ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/sdhci-esdhc-imx.c