Skip to content

Commit ffb4d7b

Browse files
authored
Merge pull request #179 from tlauda/topic/dai_dma_release_not_needed
dai: dma_release is no longer needed
2 parents abaed3e + 053cc08 commit ffb4d7b

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)