ASoC: Intel: Remove support for Intel MID DMA from firmware loader
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Wed, 18 Mar 2015 08:07:19 +0000 (10:07 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 18 Mar 2015 11:43:26 +0000 (11:43 +0000)
Intel MID DMA driver is going to be removed by the coming commit
36111da7838e ("dmaengine: intel-mid-dma: remove the driver") in spi.git
tree. Since there are no users for SST_DMA_TYPE_MID type the support for it
can be removed from here in advance.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/sst-dsp.h
sound/soc/intel/sst-firmware.c

index f291e32f00777a626b64299e8725cdb5fb3bf42b..3412474083ffdfeba79598433f345fa13b40dc72 100644 (file)
@@ -28,7 +28,6 @@
 
 /* Supported SST DMA Devices */
 #define SST_DMA_TYPE_DW                1
-#define SST_DMA_TYPE_MID       2
 
 /* autosuspend delay 5s*/
 #define SST_RUNTIME_SUSPEND_DELAY      (5 * 1000)
index 5e5800897da220b6f4001cdca2fb828201da24a6..38881f1fb990b203ba6de78a5e70914bec9c9ecb 100644 (file)
@@ -277,9 +277,6 @@ int sst_dma_new(struct sst_dsp *sst)
        case SST_DMA_TYPE_DW:
                dma_dev_name = "dw_dmac";
                break;
-       case SST_DMA_TYPE_MID:
-               dma_dev_name = "Intel MID DMA";
-               break;
        default:
                dev_err(sst->dev, "error: invalid DMA engine %d\n",
                        sst->pdata->dma_engine);