diff options
| author | Diogo Ivo (Schneider Electric) <diogo.ivo@bootlin.com> | 2026-08-07 13:06:59 +0200 |
|---|---|---|
| committer | Ulf Hansson <ulfh@kernel.org> | 2026-09-04 11:07:27 +0200 |
| commit | c9f47cc8c37f7659897142ffe216c250fbc1d4ed (patch) | |
| tree | 3206c5465d2a4f7e2051a29f9eb84e968255bdd9 /scripts/Makefile.thinlto | |
| parent | 7197d9107d9545730153b82ea5a411c5208b443f (diff) | |
| download | linux-next-c9f47cc8c37f7659897142ffe216c250fbc1d4ed.tar.gz linux-next-c9f47cc8c37f7659897142ffe216c250fbc1d4ed.zip | |
mmc: sdhci_am654: Clear ITAPDLY on tuning failure
When tuning fails, stale ITAPDLY values can persist and interfere with
subsequent I/O accesses, for example in DDR50 mode in cards with no tuning
support. Move the ITAPDLY enable setting out of the tuning loop to after
successful tuning, and explicitly clear ITAPDLY (delay and enable) when
tuning fails so that we are sure only working values are actually left in
hardware.
Fixes: 901d16e46296 ("mmc: sdhci_am654: Add retry tuning")
Cc: stable@vger.kernel.org
Signed-off-by: Diogo Ivo (Schneider Electric) <diogo.ivo@bootlin.com>
Reviewed-by: Judith Mendez <jm@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
