19 May
2020
19 May
'20
6:20 a.m.
Hi Ranjani
From: Kuninori Morimoto kuninori.morimoto.gx@renesas.com
Current ALSA SoC has many dai_link->xxx() functions. But, it is implemented randomly at random place.
This patch creates new soc-link.c to collect dai_link related operation into it.
Signed-off-by: Kuninori Morimoto kuninori.morimoto.gx@renesas.com
(snip)
#include <sound/soc-component.h> +#include <sound/soc-link.h>
Why do we need to include this in soc.h? Is it to ensure that soc- link.h included in all files that include soc.h?
I think the right way to do this would be include soc-link.h where it is needed, say for example in soc-pcm.c etc.
OK. Will check and update it in v2
Thank you for your help !!
Best regards --- Kuninori Morimoto