diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-04-08 16:21:05 +0900 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-05-28 11:20:57 +0200 |
| commit | a8e809ecaeb49fd53bbbed05a8257d35b9858c31 (patch) | |
| tree | acb9bf6de0c29b79f7252207b606157a70915cf2 /tools/perf/scripts/python | |
| parent | mmc: sdhci: move SDHCI_CAPABILITIES_1 to a more suitable place (diff) | |
| download | linux-a8e809ecaeb49fd53bbbed05a8257d35b9858c31.tar.gz linux-a8e809ecaeb49fd53bbbed05a8257d35b9858c31.zip | |
mmc: sdhci: use FIELD_GET/PREP for capabilities bit masks
Use FIELD_GET and FIELD_PREP to get access to the register fields. Delete
the shift macros and use GENMASK() for the touched macros.
Note that, this has the side-effect of changing the constants to 64-bit on
64-bit platforms.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20200408072105.422-2-yamada.masahiro@socionext.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
