Skip to content

Commit 053cc08

Browse files
committed
dai: dma_release is no longer needed
Calling dma_release function is no longer needed as we are currently tracking ll_current for all platforms and starting GPDMA from the right item. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
1 parent 5e83da7 commit 053cc08

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/audio/dai.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -586,10 +586,6 @@ static int dai_comp_trigger(struct comp_dev *dev, int cmd)
586586

587587
/* only start the DAI if we are not XRUN handling */
588588
if (dd->xrun == 0) {
589-
/* recover the dma status */
590-
ret = dma_release(dd->dma, dd->chan);
591-
if (ret < 0)
592-
return ret;
593589
/* start the DAI */
594590
ret = dma_start(dd->dma, dd->chan);
595591
if (ret < 0)

0 commit comments

Comments
 (0)