summaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorMaksim Kiselev <bigunclemax@gmail.com>2024-04-02 12:35:39 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2024-04-04 11:05:19 +0200
commitace323f80b9bc6734289a4e8a77938a3ce964c7d (patch)
tree2fa9206c13d65871e111591121c97e7396597eda /drivers/nfc
parentf8def10f73a516b771051a2f70f2f0446902cb4f (diff)
downloadlinux-stable-ace323f80b9bc6734289a4e8a77938a3ce964c7d.tar.gz
linux-stable-ace323f80b9bc6734289a4e8a77938a3ce964c7d.tar.bz2
linux-stable-ace323f80b9bc6734289a4e8a77938a3ce964c7d.zip
mmc: sdhci-of-dwcmshc: th1520: Increase tuning loop count to 128
Fix SD card tuning error by increasing tuning loop count from 40(MAX_TUNING_LOOP) to 128. For some reason the tuning algorithm requires to move through all the taps of delay line even if the THRESHOLD_MODE (bit 2 in AT_CTRL_R) is used instead of the LARGEST_WIN_MODE. Tested-by: Drew Fustini <drew@pdp7.com> Tested-by: Xi Ruoyao <xry111@xry111.site> Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Fixes: 43658a542ebf ("mmc: sdhci-of-dwcmshc: Add support for T-Head TH1520") Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20240402093539.184287-1-bigunclemax@gmail.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions