]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/soc/intel/sst-firmware.c
ASoC: Intel: remove misleading DMA error messages on Baytrail platforms
[karo-tx-linux.git] / sound / soc / intel / sst-firmware.c
index b3f9489794a6acad776fc2cf7670b6e12ab06bf6..28beceb3f252dda955e13ac827b81041e8785032 100644 (file)
@@ -271,6 +271,10 @@ int sst_dma_new(struct sst_dsp *sst)
        const char *dma_dev_name;
        int ret = 0;
 
+       if (sst->pdata->resindex_dma_base == -1)
+               /* DMA is not used, return and squelsh error messages */
+               return 0;
+
        /* configure the correct platform data for whatever DMA engine
        * is attached to the ADSP IP. */
        switch (sst->pdata->dma_engine) {