From 454c14fcb3e5e3b6639a4ead0c2c54fc44b107bc Mon Sep 17 00:00:00 2001 From: Jaejoon Yoo Date: Tue, 3 Jan 2017 18:51:05 +0900 Subject: [PATCH] DMA: Fix SFR address when debug log print. Change-Id: Ib52934854f5d238e60b48e908256552b537d6483 Signed-off-by: Jaejoon Yoo --- drivers/dma/pl330.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); -- 2.20.1