From 6b2ab3e5f4ce3a72d14480ea298d1ab14ad48ec0 Mon Sep 17 00:00:00 2001 From: Tomasz Lauda Date: Fri, 1 Feb 2019 16:50:29 +0100 Subject: [PATCH] hd-dma: missing COMP_STATE_ACTIVE on start Adds missing status COMP_STATE_ACTIVE on start. Signed-off-by: Tomasz Lauda --- src/drivers/intel/cavs/hda-dma.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/intel/cavs/hda-dma.c b/src/drivers/intel/cavs/hda-dma.c index 0f78bdcff..7d10913e5 100644 --- a/src/drivers/intel/cavs/hda-dma.c +++ b/src/drivers/intel/cavs/hda-dma.c @@ -689,6 +689,8 @@ static int hda_dma_start(struct dma *dma, int channel) else hda_dma_enable_unlock(dma, channel); + p->chan[channel].status = COMP_STATE_ACTIVE; + out: spin_unlock_irq(&dma->lock, flags); return ret;