ASoC: SOF: Drop resindex_dma_base, dma_engine, dma_size from sof_dev_desc
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Wed, 15 Sep 2021 06:55:41 +0000 (09:55 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 15 Sep 2021 12:10:13 +0000 (13:10 +0100)
resindex_dma_base, dma_engine and dma_size is unused, remove them.
There is no hint in the comments how this supposed to be used, when the
need arises it can be added back.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20210915065541.1178-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof.h

index 6a1cd8e..23b3743 100644 (file)
@@ -74,11 +74,6 @@ struct sof_dev_desc {
        int resindex_pcicfg_base;
        int resindex_imr_base;
        int irqindex_host_ipc;
-       int resindex_dma_base;
-
-       /* DMA only valid when resindex_dma_base != -1*/
-       int dma_engine;
-       int dma_size;
 
        /* IPC timeouts in ms */
        int ipc_timeout;