Uh oh!
There was an error while loading. Please reload this page.
dai: remove wait on stop - #284
Conversation
76c867c to
6373c93Compare
lgirdwood
left a comment
There was a problem hiding this comment.
The wait was intended for DMA FIFO draining, but if its no longer needed it can be dropped. Btw, have you tested pause/release or XRUNs with this update ?
lgirdwood
commented
Aug 30, 2018
@ZhendanYang can you test this PR for XRUNs and pause/release. |
keqiaozhang
commented
Aug 31, 2018
@tlauda@lgirdwood
XRUN injection:
|
tlauda
commented
Aug 31, 2018
@keqiaozhang@lgirdwood |
keqiaozhang
commented
Aug 31, 2018
6373c93 to
bf68b0bCompareRemoves wait on stop, as it's not needed. Also this change fixes problems with sending IPC as wait function lowers interrupt level, while IPCs are now executed on irq task level. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
bf68b0b to
344085dCompare| ret = dma_stop(dd->dma, dd->chan); | ||
| } | ||
| ret = dma_stop(dd->dma, dd->chan); | ||
| dai_trigger(dd->dai, COMP_TRIGGER_STOP, dev->params.direction); |
There was a problem hiding this comment.
Intentionally changed in order to properly clear SSP fifo (PR #302).
tlauda
commented
Sep 3, 2018
@keqiaozhang Could you check with the current version of this PR? I've tested the pause/release scenario and it shouldn't generate glitches anymore. |
tlauda
commented
Sep 5, 2018
@keqiaozhang Have you had a chance to check it out? |
ZhendanYang
commented
Sep 6, 2018
@tlauda@lgirdwood When playback, sometimes XRUN will occur, followed by noise issue. Pause/Release:
dmesg-PR284.log XRUN injection:
|
xiulipan
commented
Sep 6, 2018
@lgirdwood |
lgirdwood
commented
Sep 6, 2018
@xiulipan yes pls do and send PR. |
xiulipan
commented
Sep 6, 2018
@lgirdwood@tlauda |
Removes wait on stop, as it's not needed.
Also this change fixes problems with sending IPC as
wait function lowers interrupt level, while IPCs are
now executed on irq task level.
Signed-off-by: Tomasz Lauda tomasz.lauda@linux.intel.com