[alsa-devel] [PATCH 01/10 v3] ASoC: core: add snd_soc_get_dai_drv() to get DAI driver

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Mon Mar 23 08:14:51 CET 2015


Hi Mark

> > Sometimes sound card driver want to get cpu/codec driver.
> > This patch adds snd_soc_get_dai_drv() and enable it.
> 
> Why would a sound card driver need to get the DAI driver?  The changelog
> should explain this.

Because, sound card needs to set dai_link->dpcm_playback / dai_link->dpcm_capture
on soc_new_pcm() if it was DPCM. but, it is depends on CPU/Codec driver.
So, sound card driver need to get DAI driver, and consider it.
I will add this explain in v4


More information about the Alsa-devel mailing list