diff options
author | Vinod Koul <vinod.koul@intel.com> | 2014-08-04 15:15:55 +0530 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-16 17:06:30 -0500 |
commit | d8499c9b4b03ca88d7c7b4094cb09471658df7c2 (patch) | |
tree | afcdf24d0fce74064050314fcdfadbfb86b81f52 /sound/soc/intel/sst-mfld-platform-pcm.c | |
parent | ASoC: Intel: mfld-pcm: Change sst_ops prototypes to take dev parameter (diff) | |
download | linux-dev-d8499c9b4b03ca88d7c7b4094cb09471658df7c2.tar.xz linux-dev-d8499c9b4b03ca88d7c7b4094cb09471658df7c2.zip |
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.c | 8 |
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) return retval; } -static struct snd_soc_platform_driver sst_soc_platform_drv = { +static int sst_soc_probe(struct snd_soc_platform *platform) +{ + return sst_dsp_init_v2_dpcm(platform); +} + +static struct snd_soc_platform_driver sst_soc_platform_drv = { + .probe = sst_soc_probe, .ops = &sst_platform_ops, .compr_ops = &sst_platform_compr_ops, .pcm_new = sst_pcm_new, |