diff options
author | Marek Vasut <marex@denx.de> | 2023-08-31 20:16:55 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2023-09-11 13:50:49 -0700 |
commit | f03a562450eef35b785a814005ed164a89dfb2db (patch) | |
tree | 876110a1f9d3b2755e4dfe6f3ad13cd3377b7efd /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
parent | b7b20cfe6f849c2682c5f7d3f50ede6321a5d04c (diff) |
clk: si521xx: Use REGCACHE_FLAT instead of NONE
In order to reload registers into the clock generator on resume using
regcache_sync(), it is necessary to select one of the regcache types
which are not NONE. Since this device has some 7 registers, use the
simplest one, FLAT. The regcache code complains about REGCACHE_NONE
being selected and generates a WARNING, this fixes that warning.
Fixes: edc12763a3a2 ("clk: si521xx: Clock driver for Skyworks Si521xx I2C PCIe clock generators")
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20230831181656.154750-1-marex@denx.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions