diff options
author | Maxime Chevallier <[email protected]> | 2023-05-11 16:27:35 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-05-12 10:28:19 +0900 |
commit | e12ff28764937dd58c8613f16065da60da149048 (patch) | |
tree | 534e895b1b7c33a4ced39325972ec349af68a1c7 /tools/perf/scripts/python/syscall-counts.py | |
parent | f33a751d5a7fe03b11d95e6a33e1fdd3b4f8ec18 (diff) |
regmap: mmio: Allow passing an empty config->reg_stride
Regmap's stride is used for MMIO regmaps to check the correctness of
reg_width. However, it's acceptable to pass an empty config->reg_stride,
in that case the actual stride used is 1.
There are valid cases now to pass an empty stride, when using
down/upshifting of register address. In this case, the stride value
loses its sense, so ignore the reg_width when the stride isn't set.
Signed-off-by: Maxime Chevallier <[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions