]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Mon, 19 Mar 2018 23:40:29 +0000 (20:40 -0300)
commit267bfb71f7b3bed06232cd3258af8be4ec00b3d2
treeefa3d3c68aa50f47a3b338313ffaebbb9c81abfe
parentb98f6e2df12fd1d3c092e68e1b7afda174173607
ASoC: rt5651: Fix regcache sync errors on resume

BugLink: http://bugs.launchpad.net/bugs/1756978
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>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
sound/soc/codecs/rt5651.c