Skip to content

ASoC/regmap: rt5640: Fix resume

Jarkko Nikula alsa-devel lkml 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2regmap: cache: Fix regcache_sync_block for non-autoincrementing devicesdrivers/base/regmap/regcache.c+13 -14 replies
2/2ASoC: rt5640: Do not allow regmap to use bulk read-write operationssound/soc/codecs/rt5640.c+1 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ASoC/regmap: rt5640: Fix resume

Realtek RT5642 audio codec fails to resume because regmap/regcache tries to sync consecutive registers using block writes but RT5642 doesn't support autoincrementing I2C writes according to debugging and oscilloscope measurments.

I'm not sure is there regression after 75a5f89f635c ("regmap: cache: Write consecutive registers in a single block write") or was RT564x resume ever working in mainline so I didn't mark stable yet.

Both patches are independent from each other and can be applied into their own subsystems separately.

Jarkko Nikula (2):
regmap: cache: Fix regcache_sync_block for non-autoincrementing
devices
ASoC: rt5640: Do not allow regmap to use bulk read-write operations

 drivers/base/regmap/regcache.c | 14 +++++++++++++-
 sound/soc/codecs/rt5640.c      |  1 +
 2 files changed, 14 insertions(+), 1 deletion(-)
Signature · 1 line
2.1.0