]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5631: Fix regcache sync errors on resume
authorMaxim Schwalm <maxim.schwalm@gmail.com>
Mon, 12 Jul 2021 00:50:11 +0000 (03:50 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 12 Jul 2021 11:33:57 +0000 (12:33 +0100)
commitfbe3f298560b01023ef569b4d08903f2564bb2c4
treee8408952c2147ac25b3e88af2238db051cdae981
parent73204670a0aa38914ce65db30bd0116b60507f82
ASoC: rt5631: Fix regcache sync errors on resume

The ALC5631 does not like multi-write accesses, avoid them. This fixes:

rt5631 4-001a: Unable to sync registers 0x3a-0x3c. -121

errors on resume from suspend (and all registers after the registers in
the error not being synced).

Inspired by commit e4077ef1e281 ("ASoC: rt5651: Fix regcache sync errors
on resume") from Hans de Geode, which fixed the same errors on ALC5651.

Signed-off-by: Maxim Schwalm <maxim.schwalm@gmail.com>
Link: https://lore.kernel.org/r/20210712005011.28536-1-digetx@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5631.c