Skip to content

Commit 2fc35fd

Browse files
Wu Zhigangslawblauciak
authored andcommitted
Revert "dai: ignore data on capture stop"
This reverts commit 58bc284. which will cause the pointer mis-match between the DAI-DMA's hardware pointer and the buffer pointer. when you do the pause/release for the capture, the firmware will be panic. Signed-off-by: Wu Zhigang <zhigang.wu@linux.intel.com>
1 parent 1933de9 commit 2fc35fd

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
@@ -94,10 +94,6 @@ static void dai_dma_cb(void *data, uint32_t type, struct dma_sg_elem *next)
9494

9595
/* inform waiters */
9696
wait_completed(&dd->complete);
97-
98-
/* for capture do nothing to avoid buffer ptr inconsistency */
99-
if (dev->params.direction == SOF_IPC_STREAM_CAPTURE)
100-
return;
10197
}
10298

10399
/* is our pipeline handling an XRUN ? */

0 commit comments

Comments
 (0)