From: Jaejoon Yoo Date: Tue, 3 Jan 2017 09:51:05 +0000 (+0900) Subject: DMA: Fix SFR address when debug log print. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=454c14fcb3e5e3b6639a4ead0c2c54fc44b107bc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git DMA: Fix SFR address when debug log print. Change-Id: Ib52934854f5d238e60b48e908256552b537d6483 Signed-off-by: Jaejoon Yoo --- diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 6afa9c577138..48d5e03cd318 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -2977,9 +2977,9 @@ int pl330_dma_debug(struct dma_chan *chan) dev_info(pch->dmac->ddma.dev,"[ DMA Register Dump(id: %d) ]\n", thrd->id); dev_info(pch->dmac->ddma.dev,"DAR:0x%x\n", readl(regs + DA(thrd->id))); dev_info(pch->dmac->ddma.dev,"SAR:0x%x\n", readl(regs + SA(thrd->id))); - dev_info(pch->dmac->ddma.dev,"arwrapper_inst:0x%x\n", readl(regs + 0x4500)); - dev_info(pch->dmac->ddma.dev,"arwrapper:0x%x\n", readl(regs + 0x4400 + 0x20*thrd->id)); - dev_info(pch->dmac->ddma.dev,"awwrapper:0x%x\n", readl(regs + 0x4404 + 0x20*thrd->id)); + dev_info(pch->dmac->ddma.dev,"arwrapper_inst:0x%x\n", readl(pch->dmac->inst_wrapper)); + dev_info(pch->dmac->ddma.dev,"arwrapper:0x%x\n", readl(thrd->ar_wrapper)); + dev_info(pch->dmac->ddma.dev,"awwrapper:0x%x\n",readl(thrd->aw_wrapper)); dev_info(pch->dmac->ddma.dev,"DBGSTATUS:0x%x\n", readl(regs + DBGSTATUS)); dev_info(pch->dmac->ddma.dev,"INTMIS:0x%x\n", readl(regs + INTSTATUS)); dev_info(pch->dmac->ddma.dev,"INTEN:0x%x\n", readl(regs + INTEN));