22 Sep
2017
22 Sep
'17
1:32 a.m.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/audio/dai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/audio/dai.c b/src/audio/dai.c index 2101e00..84c8bba 100644 --- a/src/audio/dai.c +++ b/src/audio/dai.c @@ -83,7 +83,7 @@ static void dai_dma_cb(void *data, uint32_t type, struct dma_sg_elem *next) tracev_dai("irq");
/* is stream stopped or paused ? */ - if (dev->state == COMP_STATE_PAUSED) { + if (dev->state != COMP_STATE_ACTIVE) {
/* stop the DAI */ dai_trigger(dd->dai, COMP_CMD_STOP, dev->params.direction);
--
2.11.0