[Sound-open-firmware] [PATCH] host-gw: fix hda-dma not start at pause release issue.

Keyon Jie yang.jie at linux.intel.com
Thu Mar 29 13:11:12 CEST 2018


We don't need stop host dma at pause, which is aligned with baytrail
GPDMA.

Signed-off-by: Keyon Jie <yang.jie at linux.intel.com>
---
 src/audio/host.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/audio/host.c b/src/audio/host.c
index 9177d99..ac79d36 100644
--- a/src/audio/host.c
+++ b/src/audio/host.c
@@ -465,9 +465,6 @@ static int host_cmd(struct comp_dev *dev, int cmd, void *data)
 		return ret;
 
 	switch (cmd) {
-	case COMP_CMD_PAUSE:
-		dma_stop(hd->dma, hd->chan);
-		break;
 	case COMP_CMD_STOP:
 		ret = host_stop(dev);
 		break;
-- 
2.14.1



More information about the Sound-open-firmware mailing list