mirror of https://github.com/thesofproject/sof.git
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:
parent
29f7b31a9d
commit
6b2ab3e5f4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue