Commit f17f102d authored by Haibo Chen's avatar Haibo Chen Committed by sanglipeng
Browse files

mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting

stable inclusion
from stable-v5.10.165
commit 6ee8feca915009f0abaa4f109144bc946d2a1532
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7T7G4

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6ee8feca915009f0abaa4f109144bc946d2a1532



--------------------------------

commit 1e336aa0 upstream.

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

Fixes: 2b16cf32 ("mmc: sdhci-esdhc-imx: move tuning static configuration into hwinit function")
Signed-off-by: default avatarHaibo Chen <haibo.chen@nxp.com>
Acked-by: default avatarAdrian 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: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 6b48f16b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment