diff options
author | 2023-11-09 21:41:12 -0800 | |
---|---|---|
committer | 2023-12-07 14:08:44 +0100 | |
commit | 9cc811a342be78270d20d1fff3832bc0b23ef364 (patch) | |
tree | e42c374fc226bad536e20d07ce81cd333b06f070 /tools/perf/scripts/python/syscall-counts.py | |
parent | dt-bindings: mmc: sdhci-of-dwcmhsc: Add T-Head TH1520 support (diff) | |
download | wireguard-linux-9cc811a342be78270d20d1fff3832bc0b23ef364.tar.xz wireguard-linux-9cc811a342be78270d20d1fff3832bc0b23ef364.zip |
mmc: sdhci: add __sdhci_execute_tuning() to header
Expose __sdhci_execute_tuning() so that it can be called from the
mmc host controller drivers.
In the sdhci-of-dwcmshc driver, sdhci_dwcmshc_th1520_ops sets
platform_execute_tuning to th1520_execute_tuning(). That function has
to manipulate phy registers before tuning can be performed. To avoid
copying the code verbatim from __sdhci_execute_tuning() into
th1520_execute_tuning(), make it possible for __sdhci_execute_tuning()
to be called from sdhci-of-dwcmshc.
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Drew Fustini <dfustini@baylibre.com>
Link: https://lore.kernel.org/r/20231109-th1520-mmc-v5-2-018bd039cf17@baylibre.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions