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: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:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment