]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: codecs: ES8326: regcache_sync error issue
authorZhang Yi <zhangyi@everest-semi.com>
Mon, 24 Jun 2024 03:06:07 +0000 (11:06 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jun 2024 12:38:26 +0000 (13:38 +0100)
commit34fa846f52f9fbef8aa262d3b39e71188e8dd884
tree020ae826d5a1c79098f0935752eb6fe66a5e0b37
parent7e7dbdee96cbc660e7e8d3d9d7a512acaa6ca69d
ASoC: codecs: ES8326: regcache_sync error issue

We modified the regmap_config members to fix cach sync error.
There are several registers that should be read-only registers.
If these registers are written while synchronizing the register values,
the codec will enter an error state.So we create es8326_writeable_register,
and set these registers to false

Signed-off-by: Zhang Yi <zhangyi@everest-semi.com>
Link: https://patch.msgid.link/20240624030607.4307-5-zhangyi@everest-semi.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8326.c