23 Mar
2015
23 Mar
'15
8:14 a.m.
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