OSDN Git Service

dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start
authorShun-Chih Yu <shun-chih.yu@mediatek.com>
Thu, 25 Apr 2019 03:53:50 +0000 (11:53 +0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 26 Apr 2019 11:56:38 +0000 (17:26 +0530)
commit5bb5c3a3ac102158b799bf5eda871223aa5e9c25
treeeeab3b4f482aa00ac6542ab8e5468a67f9580a82
parent6e7da74775348d96e2d7efaf3f91410e18c481ef
dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start

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>
Cc: stable@vger.kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mediatek/mtk-cqdma.c