Re: [PATCH V2] clk: sprd: set max_register according to mapping range

From: Stephen Boyd
Date: Thu Mar 16 2023 - 19:41:44 EST


Quoting Chunyan Zhang (2023-03-15 19:36:24)
> 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@xxxxxxxxxx>
> ---

Applied to clk-fixes