Re: [PATCH] ASoC: cs35l56: Fix illegal writes to OTP_MEM registers
From: Mark Brown
Date: Tue Apr 28 2026 - 19:23:50 EST
On Tue, Apr 28, 2026 at 12:52:28PM +0100, Richard Fitzgerald wrote:
> These registers hold a constant, and originally they were marked as
> readable non-volatile so that this value would be read into the regmap
> cache. The problem with this is regcache_sync() issues a write for any
> cached register that does not have a reg_default.
This feels like something that's common enough to be worth teaching the
regmap core about.
Attachment:
signature.asc
Description: PGP signature