23 Apr
2020
23 Apr
'20
3:46 a.m.
Hi Ranjani
Thank you for reviwing
From: Kuninori Morimoto kuninori.morimoto.gx@renesas.com
dai related function should be implemented at soc-dai.c. This patch adds snd_soc_dai_compr_shutdown().
Signed-off-by: Kuninori Morimoto kuninori.morimoto.gx@renesas.com
(snip)
+void snd_soc_dai_compr_shutdown(struct snd_soc_dai *dai,
struct snd_compr_stream *cstream)
+{
- if (dai->driver->cops &&
dai->driver->cops->shutdown)
dai->driver->cops->shutdown(cstream, dai);
I see the original code doesnt check the return value. But I think we should here, no?
Yes, indeed. But it is shutdown function. Just reporting dev_err() is enough I think. What do you think ?
Thank you for your help !!
Best regards --- Kuninori Morimoto