Message ID | 1556164430-30724-1-git-send-email-shun-chih.yu@mediatek.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/1] dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start | expand |
On 25-04-19, 11:53, shun-chih.yu@mediatek.com wrote: > From: Shun-Chih Yu <shun-chih.yu@mediatek.com> > > This patch fixes wrong register usage in the mtk_cqdma_start. The > destination register should be MTK_CQDMA_DST2 instead. Applied and cced stable, thanks
diff --git a/drivers/dma/mediatek/mtk-cqdma.c b/drivers/dma/mediatek/mtk-cqdma.c index 131f397..8148538 100644 --- a/drivers/dma/mediatek/mtk-cqdma.c +++ b/drivers/dma/mediatek/mtk-cqdma.c @@ -253,7 +253,7 @@ static void mtk_cqdma_start(struct mtk_cqdma_pchan *pc, #ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT mtk_dma_set(pc, MTK_CQDMA_DST2, cvd->dest >> MTK_CQDMA_ADDR2_SHFIT); #else - mtk_dma_set(pc, MTK_CQDMA_SRC2, 0); + mtk_dma_set(pc, MTK_CQDMA_DST2, 0); #endif /* setup the length */