[PATCH v2 20/25] ASoC: renesas: fsi: Ensure the component is marked as opened on success

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Oct 14 20:55:37 PDT 2026


Hi

> snd_pcm_hw_constraint_integer() may return 1, which is then returned
> from fsi_pcm_open(). ASoC only marks the component as opened when
> .open() returns 0.
> 
> This currently has no functional impact, as fsi_soc_component has no
> .close() callback. Still, return 0 explicitly on success to
> match what ASoC expects and ensure the component is correctly marked
> as opened.
> 
> Signed-off-by: bui duc phuc <phucduc.bui at gmail.com>
> ---

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

Thank you for your help !!

Best regards
---
Kuninori Morimoto



More information about the Linux-rockchip mailing list