Re: [PATCH 1/4] ASoC: codec: cs4341: Handle hw_params return value

From: Charles Keepax

Date: Fri Oct 23 2026 - 05:41:27 EST


On Fri, Oct 23, 2026 at 04:01:54PM +0700, phucduc.bui@xxxxxxxxx wrote:
> From: bui duc phuc <phucduc.bui@xxxxxxxxx>
>
> snd_soc_component_update_bits() may return 1 when the register value
> changes, but ASoC only marks the DAI hw_params as done when .hw_params()
> returns 0.
>
> Propagate negative errors and return 0 on success.
>
> Signed-off-by: bui duc phuc <phucduc.bui@xxxxxxxxx>
> ---

Reviewed-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Thanks,
Charles