Re: [PATCH] ASoC: SDCA: Write init table on function status IRQ

From: Charles Keepax

Date: Tue Mar 24 2026 - 05:31:29 EST


On Tue, Mar 24, 2026 at 12:03:59AM -0300, Cássio Gabriel wrote:
> The function status IRQ handler currently acknowledges
> SDCA_CTL_ENTITY_0_FUNCTION_NEEDS_INITIALIZATION but does
> not perform the function initialization writes. Since the
> handler clears the function status register afterwards,
> the request is lost.
>
> Use sdca_regmap_write_init() when the initialization status
> bit is reported and apply the writes through the device regmap
> stored in the IRQ data, matching the existing class-function
> boot and resume paths.

Generally speaking the init writes should have happened as part
of the device boot. What are the circumstances where you are
encountering this?

Thanks,
Charles