diff options
author | Guneshwor Singh <guneshwor.o.singh@intel.com> | 2017-10-09 11:20:31 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-10-13 20:25:20 +0100 |
commit | 606e21fd6f43b9be8c7d9df8bc415f1637fbeb04 (patch) | |
tree | e4c0d9875e1e65838c6d1af8f5ec730b72b8031c /sound/soc/intel/skylake/skl-pcm.c | |
parent | c3ae22e39db79bee1909d398c0debe2f7cb87d3a (diff) |
ASoC: Intel: Skylake: Add dai load ops for dais from topology
Since FE dais can come from topology, add dai_load ops
for the dais from topology.
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-pcm.c')
-rw-r--r-- | sound/soc/intel/skylake/skl-pcm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-pcm.c b/sound/soc/intel/skylake/skl-pcm.c index 9ca69b1fc128..4380e40c6af0 100644 --- a/sound/soc/intel/skylake/skl-pcm.c +++ b/sound/soc/intel/skylake/skl-pcm.c @@ -977,6 +977,14 @@ static struct snd_soc_dai_driver skl_platform_dai[] = { }, }; +int skl_dai_load(struct snd_soc_component *cmp, + struct snd_soc_dai_driver *pcm_dai) +{ + pcm_dai->ops = &skl_pcm_dai_ops; + + return 0; +} + static int skl_platform_open(struct snd_pcm_substream *substream) { struct snd_soc_pcm_runtime *rtd = substream->private_data; |