diff options
author | Drew Fustini <dfustini@baylibre.com> | 2023-11-09 21:41:12 -0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2023-12-07 14:08:44 +0100 |
commit | 9cc811a342be78270d20d1fff3832bc0b23ef364 (patch) | |
tree | e42c374fc226bad536e20d07ce81cd333b06f070 /scripts/generate_rust_analyzer.py | |
parent | edee955389176dfd798d29a69098ce5744d09833 (diff) |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions