diff options
author | Alexander Stein <[email protected]> | 2023-03-10 08:49:40 +0100 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2023-03-21 10:47:06 -0700 |
commit | 632e04739c8f45c2d9ca4d4c5bd18d80c2ac9296 (patch) | |
tree | 7797477883b09fe735f1c48e62c37ae9846ebc3c /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | f420f47e56c67587d9bc8f94267327b6fb214c1d (diff) |
clk: rs9: Fix suspend/resume
Disabling the cache in commit 2ff4ba9e3702 ("clk: rs9: Fix I2C accessors")
without removing cache synchronization in resume path results in a
kernel panic as map->cache_ops is unset, due to REGCACHE_NONE.
Enable flat cache again to support resume again. num_reg_defaults_raw
is necessary to read the cache defaults from hardware. Some registers
are strapped in hardware and cannot be provided in software.
Fixes: 2ff4ba9e3702 ("clk: rs9: Fix I2C accessors")
Signed-off-by: Alexander Stein <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions