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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Mar 2018 07:42:44 +0000 (08:42 +0100)
commit92d77052462518e382bb45145e35819f73fb73d7
treecc2c8c391ae91039bbe2dda9b0d9fb7d19c55c7d
parent57e2eb2d13dbda924b53597a0084fb3c284348b0
ASoC: rt5651: Fix regcache sync errors on resume

commit 2d30e9494f1ea320aaaad0cff9ddd92c87eac355 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/rt5651.c