[Sound-open-firmware] [PATCH] dai: reset wallclock during DAI reset()

Liam Girdwood liam.r.girdwood at linux.intel.com
Wed Sep 20 15:58:06 CEST 2017


Make sure we reset the DAI wallclock to 0 during reset()

Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 src/audio/dai.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/audio/dai.c b/src/audio/dai.c
index 7859267..ebec519 100644
--- a/src/audio/dai.c
+++ b/src/audio/dai.c
@@ -433,6 +433,7 @@ static int dai_reset(struct comp_dev *dev)
 		*dd->dai_pos = 0;
 	dd->dai_pos = NULL;
 	dd->last_bytes = 0;
+	dd->wallclock = 0;
 	dev->position = 0;
 	dev->state = COMP_STATE_READY;
 
-- 
2.11.0



More information about the Sound-open-firmware mailing list