diff options
| author | Al Cooper <[email protected]> | 2016-02-10 15:25:39 -0500 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2016-02-29 11:03:13 +0100 |
| commit | 5eaa7476f93768e5c64449ba1268ba5b6a2c12e1 (patch) | |
| tree | d8ec02de4cacff021b67acdad2c59582ca732d3b /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 5d9460d74ce5c1f5f92d016c6a9be8336ef3f350 (diff) | |
mmc: sdhci: Allow CAPS check for SDHCI_CAN_64BIT to use overridden caps
sdhci_add_host() allows the Host Controller Capability registers
to be supplied by the calling driver by using
SDHCI_QUIRK_MISSING_CAPS, but the check for the Capabilities bit
SDHCI_CAN_64BIT doesn't use the applied value and instead reads
the Host register directly. This change uses the supplied "caps"
register instead of reading the host register.
This change will allow a calling driver to simply clear the
SDHCI_CAN_64BIT bit in "caps" to handle some cases of
SDHCI_QUIRK2_BROKEN_64_BIT_DMA.
Signed-off-by: Al Cooper <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions