Skip to content

Commit 9c7e355

Browse files
mkumardvinodkoul
authored andcommitted
dmaengine: tegra210-adma: fix global intr clear
The current global interrupt clear programming register offset was not correct. Fix the programming with right offset Fixes: ded1f3d ("dmaengine: tegra210-adma: prepare for supporting newer Tegra chips") Cc: stable@vger.kernel.org Signed-off-by: Mohan Kumar <mkumard@nvidia.com> Link: https://lore.kernel.org/r/20230102064844.31306-1-mkumard@nvidia.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 57054fe commit 9c7e355

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/dma/tegra210-adma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ static int tegra_adma_init(struct tegra_adma *tdma)
221221
int ret;
222222

223223
/* Clear any interrupts */
224-
tdma_write(tdma, tdma->cdata->global_int_clear, 0x1);
224+
tdma_write(tdma, tdma->cdata->ch_base_offset + tdma->cdata->global_int_clear, 0x1);
225225

226226
/* Assert soft reset */
227227
tdma_write(tdma, ADMA_GLOBAL_SOFT_RESET, 0x1);

0 commit comments

Comments
 (0)