summaryrefslogtreecommitdiff
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-05-28 12:32:04 +0700
committerMark Brown <broonie@kernel.org>2026-05-28 15:15:46 +0100
commit006c66d1d52f1905e6ccfb615cf27235e4e6e745 (patch)
tree738d69db699cd757b439467038650ded0aa12bc1 /arch/xtensa/kernel
parente7ae89a0c97ce2b68b0983cd01eda67cf373517d (diff)
downloadlwn-006c66d1d52f1905e6ccfb615cf27235e4e6e745.tar.gz
lwn-006c66d1d52f1905e6ccfb615cf27235e4e6e745.zip
regmap: reject volatile update_bits() in cache-only mode
Prevent _regmap_update_bits() from accessing hardware when the register map is in cache-only mode. Unlike regmap_raw_read() and _regmap_read(), the volatile _regmap_update_bits() fast path bypasses the cache_only check. This can result in unexpected hardware accesses while the device is suspended. Return -EBUSY to ensure behavior is consistent with other cache-only access paths. Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Link: https://patch.msgid.link/20260528053204.46783-1-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/xtensa/kernel')
0 files changed, 0 insertions, 0 deletions