[PATCH 02/25] ASoC: soc-dai.h: add snd_soc_dai_dma_data_set/get() for low level
Charles Keepax
ckeepax at opensource.cirrus.com
Fri Jan 20 12:13:44 CET 2023
On Fri, Jan 20, 2023 at 07:01:45AM +0000, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
>
> Current ASoC has snd_soc_dai_set/get_dma_data() which is assuming
> struct snd_pcm_substream to get Playback/Capture direction.
>
> But, many drivers want to use it not through snd_pcm_substream.
> This patch adds more low level snd_soc_dai_dma_data_set/get() for it,
> and previous functions will be macro for it.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> ---
Reviewed-by: Charles Keepax <ckeepax at opensource.cirrus.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list