diff options
author | Ben Wolsieffer | 2023-11-01 10:29:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-11-20 11:52:15 +0100 |
commit | 713629765f25b7011462007cc99dec1ad9bf825d (patch) | |
tree | aee2cb6252d54df2fa10893d98b96b176b1a964e /drivers/pwm | |
parent | 7ec7b7d3f2b807cdf3c4323bb15588e42402d244 (diff) |
regmap: prevent noinc writes from clobbering cache
[ Upstream commit 984a4afdc87a1fc226fd657b1cd8255c13d3fc1a ]
Currently, noinc writes are cached as if they were standard incrementing
writes, overwriting unrelated register values in the cache. Instead, we
want to cache the last value written to the register, as is done in the
accelerated noinc handler (regmap_noinc_readwrite).
Fixes: cdf6b11daa77 ("regmap: Add regmap_noinc_write API")
Signed-off-by: Ben Wolsieffer <ben.wolsieffer@hefring.com>
Link: https://lore.kernel.org/r/20231101142926.2722603-2-ben.wolsieffer@hefring.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions