diff options
author | Chunyan Zhang <chunyan.zhang@unisoc.com> | 2023-03-16 05:36:24 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2023-03-17 02:33:11 +0300 |
commit | 47d43086531f10539470a63e8ad92803e686a3dd (patch) | |
tree | ac5e2f26677e0c2bcf0163192579fdacdbddb9b6 /scripts/gdb/linux/utils.py | |
parent | 5cf9d015be160e2d90d29ae74ef1364390e8fce8 (diff) | |
download | linux-47d43086531f10539470a63e8ad92803e686a3dd.tar.xz |
clk: sprd: set max_register according to mapping range
In sprd clock driver, regmap_config.max_register was set to a fixed value
which is likely larger than the address range configured in device tree,
when reading registers through debugfs it would cause access violation.
Fixes: d41f59fd92f2 ("clk: sprd: Add common infrastructure")
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Link: https://lore.kernel.org/r/20230316023624.758204-1-chunyan.zhang@unisoc.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions