From ceff4cfeeda58a570d1a6784e37b590f2f543193 Mon Sep 17 00:00:00 2001 From: Jaska Uimonen Date: Mon, 3 Jun 2019 14:57:08 +0300 Subject: [PATCH] dw-dma: set ctrl_hi to zero before bit masking dw-dma transfer size setting was changed in cleanup and because of that we need to zero the ctrl_hi value before twiddling the bits. Signed-off-by: Jaska Uimonen --- src/drivers/dw/dma.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/dw/dma.c b/src/drivers/dw/dma.c index b0bc9dd14fda..a1c41a083131 100644 --- a/src/drivers/dw/dma.c +++ b/src/drivers/dw/dma.c @@ -914,6 +914,8 @@ static inline void dw_dma_chan_reload_next(struct dma *dma, int channel, dw_write(dma, DW_SAR(channel), sar); dw_write(dma, DW_DAR(channel), dar); + lli->ctrl_hi = 0; + /* set channel class */ platform_dw_dma_set_class(chan, lli, class);