Re: [PATCH 22/31] ASoC: da7213: Populate max_register to regmap_config

From: Mark Brown
Date: Wed Nov 06 2024 - 08:43:54 EST


On Wed, Nov 06, 2024 at 10:18:17AM +0200, Claudiu wrote:
> From: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>
>
> On the Renesas RZ/G3S SMARC Carrier II board having a DA7212 codec (using
> da7213 driver) connected to one SSIF-2 available on the Renesas RZ/G3S SoC
> it has been discovered that using the runtime PM API for suspend/resume
> (as will be proposed in the following commits) leads to the codec not
> being propertly initialized after resume. This is because w/o
> max_register populated to regmap_config the regcache_rbtree_sync()
> breaks on base_reg > max condition and the regcache_sync_block() call is
> skipped.
>
> Fixes: ef5c2eba2412 ("ASoC: codecs: Add da7213 codec")
> Cc: stable@xxxxxxxxxxxxxxx

Why is this a stable fix when it only enables further work?

Attachment: signature.asc
Description: PGP signature