[PATCH] ASoC: soc-component: Add missed return for snd_soc_pcm_component_mmap

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Thu Jul 16 06:17:34 CEST 2020


Hi Shengjiu

> Add missed return for snd_soc_pcm_component_mmap, otherwise it always
> return -EINVAL.
> 
> Fixes: e2329eeba45f ("ASoC: soc-component: add soc_component_err()")
> Signed-off-by: Shengjiu Wang <shengjiu.wang at nxp.com>
> ---

Oops, indeed.
Thank you for the patch.

But it seems these functions are also missing "return"
	snd_soc_pcm_component_new()
	snd_soc_pcm_component_sync_stop()

Can you please care these, too ?

Thank you for your help !!

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list