Skip to content

Commit cd45659

Browse files
tlaudaslawblauciak
authored andcommitted
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 2fc35fd commit cd45659

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
@@ -582,10 +582,6 @@ static int dai_comp_trigger(struct comp_dev *dev, int cmd)
582582

583583
/* only start the DAI if we are not XRUN handling */
584584
if (dd->xrun == 0) {
585-
/* recover the dma status */
586-
ret = dma_release(dd->dma, dd->chan);
587-
if (ret < 0)
588-
return ret;
589585
/* start the DAI */
590586
ret = dma_start(dd->dma, dd->chan);
591587
if (ret < 0)

0 commit comments

Comments
 (0)