[Sound-open-firmware] [PATCH v2 04/26] host: start: don't real start for start command
Keyon Jie
yang.jie at linux.intel.com
Thu Feb 9 16:03:56 CET 2017
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 at 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
More information about the Sound-open-firmware
mailing list