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:
Tomasz Lauda 2019-04-16 15:47:47 +02:00 committed by Liam Girdwood
parent 8b4cc887af
commit 012f87b570
1 changed files with 0 additions and 5 deletions

View File

@ -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);