diff options
| author | Diogo Ivo (Schneider Electric) <diogo.ivo@bootlin.com> | 2026-08-07 13:06:57 +0200 |
|---|---|---|
| committer | Ulf Hansson <ulfh@kernel.org> | 2026-09-04 11:06:44 +0200 |
| commit | ff894dced1a7ad7523f9c65dbdb53d02474cca0f (patch) | |
| tree | 37393f556cd89ea3165d4d141239e8915ac7c62d /scripts/Makefile.thinlto | |
| parent | 5d132990475f02cfa1debe03d50b479432864ebd (diff) | |
| download | linux-next-ff894dced1a7ad7523f9c65dbdb53d02474cca0f.tar.gz linux-next-ff894dced1a7ad7523f9c65dbdb53d02474cca0f.zip | |
mmc: sdhci_am654: Move tuning_loop to local variable
The tuning_loop field in struct sdhci_am654_data is only used within
sdhci_am654_platform_execute_tuning() as a loop counter that is
initialized to 0 in sdhci_am654_init(). Since it shouldn't persist across
function calls, otherwise every failure expends its "budget", move it to a
local variable and remove the struct field along with the now-unnecessary
initialization.
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>
Fixes: de31f6ab68a3 ("mmc: sdhci_am654: Reset Command and Data line after tuning")
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
