From: Dom Cobley Date: Wed, 6 Jan 2021 18:16:10 +0000 (+0000) Subject: bcm2835-dma: Avoid losing CS flags after interrupt X-Git-Tag: accepted/tizen/unified/20230118.172025~1236 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5705c846d4e6b8cb5edc85310056bbe2cde1f3aa;p=platform%2Fkernel%2Flinux-rpi.git bcm2835-dma: Avoid losing CS flags after interrupt Signed-off-by: Dom Cobley --- diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c index 0cbfa9d559a2..9878d1bed589 100644 --- a/drivers/dma/bcm2835-dma.c +++ b/drivers/dma/bcm2835-dma.c @@ -704,7 +704,7 @@ static irqreturn_t bcm2835_dma_callback(int irq, void *data) * if this IRQ handler is threaded.) If the channel is finished, it * will remain idle despite the ACTIVE flag being set. */ - writel(BCM2835_DMA_INT | BCM2835_DMA_ACTIVE, + writel(BCM2835_DMA_INT | BCM2835_DMA_ACTIVE | BCM2835_DMA_CS_FLAGS(c->dreq), c->chan_base + BCM2835_DMA_CS); d = c->desc;