* [1/1] dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start
@ 2019-04-25 3:53 shun-chih.yu
2019-04-25 3:53 ` [PATCH 1/1] " shun-chih.yu
2019-04-26 11:58 ` [1/1] " Vinod Koul
0 siblings, 2 replies; 4+ messages in thread
From: shun-chih.yu @ 2019-04-25 3:53 UTC (permalink / raw)
To: Sean Wang, Vinod Koul, Matthias Brugger, Dan Williams
Cc: dmaengine, linux-arm-kernel, linux-mediatek, devicetree,
linux-kernel, srv_wsdupstream, Shun-Chih Yu
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.
Fixes: b1f01e48df5a ("dmaengine: mediatek: Add MediaTek Command-Queue DMA controller for MT6765 SoC")
Signed-off-by: Shun-Chih Yu <shun-chih.yu@mediatek.com>
---
drivers/dma/mediatek/mtk-cqdma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 */
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 1/1] dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start
2019-04-25 3:53 [1/1] dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start shun-chih.yu
@ 2019-04-25 3:53 ` shun-chih.yu
2019-04-26 11:58 ` [1/1] " Vinod Koul
1 sibling, 0 replies; 4+ messages in thread
From: shun-chih.yu @ 2019-04-25 3:53 UTC (permalink / raw)
To: Sean Wang, Vinod Koul, Matthias Brugger, Dan Williams
Cc: dmaengine, linux-arm-kernel, linux-mediatek, devicetree,
linux-kernel, srv_wsdupstream, Shun-Chih Yu
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.
Fixes: b1f01e48df5a ("dmaengine: mediatek: Add MediaTek Command-Queue DMA controller for MT6765 SoC")
Signed-off-by: Shun-Chih Yu <shun-chih.yu@mediatek.com>
---
drivers/dma/mediatek/mtk-cqdma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 */
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [1/1] dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start
@ 2019-04-26 11:58 ` Vinod Koul
2019-04-26 11:58 ` [PATCH 1/1] " Vinod Koul
0 siblings, 1 reply; 4+ messages in thread
From: Vinod Koul @ 2019-04-26 11:58 UTC (permalink / raw)
To: shun-chih.yu
Cc: Sean Wang, Matthias Brugger, Dan Williams, dmaengine,
linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
srv_wsdupstream
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start
2019-04-26 11:58 ` [1/1] " Vinod Koul
@ 2019-04-26 11:58 ` Vinod Koul
0 siblings, 0 replies; 4+ messages in thread
From: Vinod Koul @ 2019-04-26 11:58 UTC (permalink / raw)
To: shun-chih.yu
Cc: Sean Wang, Matthias Brugger, Dan Williams, dmaengine,
linux-arm-kernel, linux-mediatek, devicetree, linux-kernel,
srv_wsdupstream
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
--
~Vinod
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-04-26 11:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-25 3:53 [1/1] dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start shun-chih.yu
2019-04-25 3:53 ` [PATCH 1/1] " shun-chih.yu
2019-04-26 11:58 ` [1/1] " Vinod Koul
2019-04-26 11:58 ` [PATCH 1/1] " Vinod Koul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).