aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/sst-mfld-platform-pcm.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2014-08-04 05:45:55 -0400
committerMark Brown <broonie@linaro.org>2014-08-16 18:06:30 -0400
commitd8499c9b4b03ca88d7c7b4094cb09471658df7c2 (patch)
treeafcdf24d0fce74064050314fcdfadbfb86b81f52 /sound/soc/intel/sst-mfld-platform-pcm.c
parentb12b087c8715286b8759016f1d5c36cac0bb37f6 (diff)
ASoC: Intel: add mrfld DSP defines
We define the DSP commands,structures here which will be used to send the IPCs Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/intel/sst-mfld-platform-pcm.c')
-rw-r--r--sound/soc/intel/sst-mfld-platform-pcm.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sound/soc/intel/sst-mfld-platform-pcm.c b/sound/soc/intel/sst-mfld-platform-pcm.c
index a89ff7e18e1a..8e1e9bc27642 100644
--- a/sound/soc/intel/sst-mfld-platform-pcm.c
+++ b/sound/soc/intel/sst-mfld-platform-pcm.c
@@ -550,7 +550,13 @@ static int sst_pcm_new(struct snd_soc_pcm_runtime *rtd)
550 return retval; 550 return retval;
551} 551}
552 552
553static struct snd_soc_platform_driver sst_soc_platform_drv = { 553static int sst_soc_probe(struct snd_soc_platform *platform)
554{
555 return sst_dsp_init_v2_dpcm(platform);
556}
557
558static struct snd_soc_platform_driver sst_soc_platform_drv = {
559 .probe = sst_soc_probe,
554 .ops = &sst_platform_ops, 560 .ops = &sst_platform_ops,
555 .compr_ops = &sst_platform_compr_ops, 561 .compr_ops = &sst_platform_compr_ops,
556 .pcm_new = sst_pcm_new, 562 .pcm_new = sst_pcm_new,