|
@@ -274,7 +274,6 @@ int sst_dma_new(struct sst_dsp *sst)
|
|
struct sst_pdata *sst_pdata = sst->pdata;
|
|
struct sst_pdata *sst_pdata = sst->pdata;
|
|
struct sst_dma *dma;
|
|
struct sst_dma *dma;
|
|
struct resource mem;
|
|
struct resource mem;
|
|
- const char *dma_dev_name;
|
|
|
|
int ret = 0;
|
|
int ret = 0;
|
|
|
|
|
|
if (sst->pdata->resindex_dma_base == -1)
|
|
if (sst->pdata->resindex_dma_base == -1)
|
|
@@ -285,7 +284,6 @@ int sst_dma_new(struct sst_dsp *sst)
|
|
* is attached to the ADSP IP. */
|
|
* is attached to the ADSP IP. */
|
|
switch (sst->pdata->dma_engine) {
|
|
switch (sst->pdata->dma_engine) {
|
|
case SST_DMA_TYPE_DW:
|
|
case SST_DMA_TYPE_DW:
|
|
- dma_dev_name = "dw_dmac";
|
|
|
|
break;
|
|
break;
|
|
default:
|
|
default:
|
|
dev_err(sst->dev, "error: invalid DMA engine %d\n",
|
|
dev_err(sst->dev, "error: invalid DMA engine %d\n",
|