aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/sst-firmware.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/intel/sst-firmware.c')
-rw-r--r--sound/soc/intel/sst-firmware.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/intel/sst-firmware.c b/sound/soc/intel/sst-firmware.c
index b3f9489794a6..28beceb3f252 100644
--- a/sound/soc/intel/sst-firmware.c
+++ b/sound/soc/intel/sst-firmware.c
@@ -271,6 +271,10 @@ int sst_dma_new(struct sst_dsp *sst)
271 const char *dma_dev_name; 271 const char *dma_dev_name;
272 int ret = 0; 272 int ret = 0;
273 273
274 if (sst->pdata->resindex_dma_base == -1)
275 /* DMA is not used, return and squelsh error messages */
276 return 0;
277
274 /* configure the correct platform data for whatever DMA engine 278 /* configure the correct platform data for whatever DMA engine
275 * is attached to the ADSP IP. */ 279 * is attached to the ADSP IP. */
276 switch (sst->pdata->dma_engine) { 280 switch (sst->pdata->dma_engine) {