hd-dma: missing COMP_STATE_ACTIVE on start

Adds missing status COMP_STATE_ACTIVE on start.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
Tomasz Lauda 2019-02-01 16:50:29 +01:00 committed by Liam Girdwood
parent 29f7b31a9d
commit 6b2ab3e5f4
1 changed files with 2 additions and 0 deletions

View File

@ -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;