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: [email protected] Signed-off-by: Mohan Kumar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 57054fe commit 9c7e355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)