mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-07 09:09:23 +00:00
ASoC: rt5651: Fix regcache sync errors on resume
commit 2d30e9494f
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>
This commit is contained in:
parent
57e2eb2d13
commit
92d7705246
1 changed files with 1 additions and 0 deletions
|
@ -1694,6 +1694,7 @@ static const struct regmap_config rt5651_regmap = {
|
|||
.num_reg_defaults = ARRAY_SIZE(rt5651_reg),
|
||||
.ranges = rt5651_ranges,
|
||||
.num_ranges = ARRAY_SIZE(rt5651_ranges),
|
||||
.use_single_rw = true,
|
||||
};
|
||||
|
||||
#if defined(CONFIG_OF)
|
||||
|
|
Loading…
Reference in a new issue