Re: [PATCH] ALSA: i2c: ak4xxx-adda: seed AK5365 cache with reset defaults

From: Takashi Iwai

Date: Thu Apr 09 2026 - 06:09:38 EST


On Wed, 08 Apr 2026 17:17:37 +0200,
Cássio Gabriel wrote:
>
> snd_akm4xxx_init() clears the register and volume caches before
> dispatching by codec type. The AK5365 case then returns immediately,
> leaving the software cache at zero instead of the documented AK5365
> reset defaults.
>
> The AK5365 capture volume controls read from volumes[] and the proc
> register dump reads from images[], so the initial capture volume state
> and proc output are wrong until a control write happens.
>
> Seed the AK5365 cache with its documented reset defaults instead of
> adding a guessed init sequence. The datasheet documents the reset
> values and states that MCLK/LRCK changes do not require a PDN/PWN
> reset because the chip has a built-in reset-free circuit.
>
> Signed-off-by: Cássio Gabriel <cassiogabrielcontato@xxxxxxxxx>

Applied to for-next branch. Thanks.


Takashi