OSDN Git Service

ASoC: rt5651: Fix regcache sync errors on resume
authorHans de Goede <hdegoede@redhat.com>
Sun, 18 Feb 2018 22:01:44 +0000 (23:01 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 19 Feb 2018 11:58:55 +0000 (11:58 +0000)
commit2d30e9494f1ea320aaaad0cff9ddd92c87eac355
tree8fa4af8f093442e7401bfe42092126690f8d9777
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
ASoC: rt5651: Fix regcache sync errors on resume

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

rt5651 i2c-10EC5651:00: Unable to sync registers 0x27-0x28. -121

Errors on resume (and all registers after the registers in the error not
being synced).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/rt5651.c