diff options
author | Adrian Hunter <[email protected]> | 2023-01-13 13:00:09 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2023-01-23 15:51:38 +0100 |
commit | 4f1896ddf6ec0a393a84a5559cd99f1be55d3d71 (patch) | |
tree | 81578db1149f6ce693274978d2b6c6f25fd7484b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 924ea310a5a2b3091bca5753f351f908019d2c64 (diff) |
mmc: sdhci-pxav3: Replace SDHCI_QUIRK_MISSING_CAPS
SDHCI_QUIRK_MISSING_CAPS is not needed because sdhci_read_caps() can be
called instead.
In preparation to get rid of SDHCI_QUIRK_MISSING_CAPS, replace
SDHCI_QUIRK_MISSING_CAPS with sdhci_read_caps().
__sdhci_read_caps() is also called from sdhci_setup_host() via
sdhci_read_caps(), however only the first call to __sdhci_read_caps() does
anything because after that host->read_caps has been set to true.
Note, __sdhci_read_caps() does more than just set host->caps, such as do a
reset, so calling __sdhci_read_caps() earlier could have unforeseen
side-effects. However the code flow has been reviewed with that in mind.
Signed-off-by: Adrian Hunter <[email protected]>
Reviewed-by: Jisheng Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions