dmaengine: tegra210-adma: fix global intr clear
Subsystems (4)
PATCH v2 1/1 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 ded1f3db4cd6 ("dmaengine: tegra210-adma: prepare for supporting newer Tegra chips")
Signed-off-by Mohan Kumar <[email protected]>
--- drivers/dma/tegra210-adma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/tegra210-adma.c +1 -1
@@ -221,7 +221,7 @@ static int tegra_adma_init(struct tegra_adma *tdma)int ret;/* Clear any interrupts */ -tdma_write (tdma, tdma->cdata->global_int_clear,0x1 ); +tdma_write (tdma, tdma->cdata->ch_base_offset + tdma->cdata->global_int_clear,0x1 );/* Assert soft reset */ tdma_write (tdma,ADMA_GLOBAL_SOFT_RESET ,0x1 );
Signature · 1 line
2.17.1
Quoted 2 lines · Mohan Kumar
The current global interrupt clear programming register offset was not correct. Fix the programming with right offset
Applied, thanks
Signature · 1 line
~Vinod