Re: [PATCH v1 0/2] Add common wait_for_boot and reset_and_boot apis for cs35l41 drivers
From: Takashi Iwai
Date: Sat Oct 31 2026 - 12:11:33 EST
On Fri, 30 Oct 2026 18:10:13 +0100,
Stefan Binding wrote:
>
> Both HDA and ASoC CS35L41 drivers use a similar meachnism for waiting
> for the chip to boot: regmap_read_poll_timeout().
> However, this method can break if the macro returns early if a
> regmap_read() call fails.
> Replace this macro with a loop which does not break on regmap_read()
> failure.
>
> In addition, ensure the software reset prior to boot does not fail,
> and ensure it is additionally run in the ASoC driver.
>
> Stefan Binding (2):
> ALSA: hda: cs35l41: Add common wait_for_boot api and reset_and_boot
> api
> ASoC: cs35l41: Use common wait_for_boot and reset_and_boot apis
Applied both patches now. Thanks.
Takashi