mirror of https://github.com/thesofproject/sof.git
dw-dma: remove unused conditional code
Removes unused conditional code from DW-DMA driver. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
parent
8b4cc887af
commit
012f87b570
|
@ -1178,11 +1178,6 @@ static int dw_dma_setup(struct dma *dma)
|
|||
for (i = 0; i < DW_MAX_CHAN; i++)
|
||||
dw_read(dma, DW_DMA_CHAN_EN);
|
||||
|
||||
#ifdef HAVE_HDDA
|
||||
/* enable HDDA before DMAC */
|
||||
shim_write(SHIM_HMDC, SHIM_HMDC_HDDA_ALLCH);
|
||||
#endif
|
||||
|
||||
/* enable the DMA controller */
|
||||
dw_write(dma, DW_DMA_CFG, 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue