summaryrefslogtreecommitdiff
path: root/include/cache.h
diff options
context:
space:
mode:
authorNiklas Söderlund <[email protected]>2024-02-09 22:15:35 +0100
committerMarek Vasut <[email protected]>2024-02-17 22:38:18 +0100
commit49ad0c8eee151187235fc54f9c4ea1368bededf0 (patch)
treeae24a9694543d9edb931740bb981e4e0a85cc894 /include/cache.h
parent9e00b6993f724da9699ef12573307afea8c19284 (diff)
clk: renesas: Fix broken clocks on all Gen2 boards
To prepare support for multiple register layouts pointers to register tables where added to struct cpg_mssr_info. These pointers are suppose to be filled in at probe time and no intended change in behavior was intended. However the new pointers where only filled in by some paths of the driver implemented in clk-rcar-gen3.c. The path implemented in clk-rcar-gen2.c was not updated leaving the pointers uninitialized leading to a crash when trying to probe the clocks. Fix this by filling in the pointers in the Gen2 code path with the values used before they where moved to struct cpg_mssr_info. Fixes: d413214fb748 ("clk: renesas: Add register pointers into struct cpg_mssr_info") Signed-off-by: Niklas Söderlund <[email protected]> Acked-by: Marek Vasut <[email protected]> Tested-by: Marek Vasut <[email protected]> # R8A7791 Porter Reviewed-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'include/cache.h')
0 files changed, 0 insertions, 0 deletions