9 Feb
2017
9 Feb
'17
4:03 p.m.
We uses pull mode for running pipeline, that means, we start each copy in pipeline_schedule_copy().
So here remove this superfluous one period copy.
Signed-off-by: Keyon Jie yang.jie@linux.intel.com --- src/audio/host.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/src/audio/host.c b/src/audio/host.c index 5fc99fa..48efa4f 100644 --- a/src/audio/host.c +++ b/src/audio/host.c @@ -587,8 +587,6 @@ static int host_cmd(struct comp_dev *dev, int cmd, void *data) dev->state = COMP_STATE_RUNNING; break; case COMP_CMD_START: - dma_set_config(hd->dma, hd->chan, &hd->config); - dma_start(hd->dma, hd->chan); dev->state = COMP_STATE_RUNNING; break; case COMP_CMD_SUSPEND:
--
2.7.4