]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs4270: Set auto-increment bit for register writes
authorDaniel Mack <daniel@zonque.org>
Wed, 20 Mar 2019 21:41:56 +0000 (22:41 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 21 Mar 2019 14:46:20 +0000 (14:46 +0000)
commit89ddba8a042b90f853912f80010c97ca957a7ad6
tree462e82a3b2833369f255ff0cd52aaec309526cfe
parent9196bbfe00b807220ff6a84efe2cdbda2699c681
ASoC: cs4270: Set auto-increment bit for register writes

The CS4270 does not by default increment the register address on
consecutive writes. During normal operation it doesn't matter as all
register accesses are done individually. At resume time after suspend,
however, the regcache code gathers the biggest possible block of
registers to sync and sends them one on one go.

To fix this, set the INCR bit in all cases.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs4270.c