aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw/regs.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-01-17 13:57:26 +0200
committerVinod Koul <vinod.koul@intel.com>2017-01-25 11:51:39 +0530
commit08d62f58aa2587132a930afbe8664379b430e2dd (patch)
tree809307cbc91f239274be510b69e4300155fc06e2 /drivers/dma/dw/regs.h
parentdmaengine: dw: Fix data corruption in large device to memory transfers (diff)
downloadlinux-dev-08d62f58aa2587132a930afbe8664379b430e2dd.tar.xz
linux-dev-08d62f58aa2587132a930afbe8664379b430e2dd.zip
dmaengine: dw: register IRQ and DMA pool with instance ID
It is really useful not only for debugging to have an IRQ line and DMA pool labeled with driver and its instance ID. Do this for DesignWare DMA driver. All current users of this IP would be enhanced later on. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dw/regs.h')
-rw-r--r--drivers/dma/dw/regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/dw/regs.h b/drivers/dma/dw/regs.h
index 4e0128c62704..6087eba2c275 100644
--- a/drivers/dma/dw/regs.h
+++ b/drivers/dma/dw/regs.h
@@ -270,6 +270,7 @@ static inline struct dw_dma_chan *to_dw_dma_chan(struct dma_chan *chan)
struct dw_dma {
struct dma_device dma;
+ char name[20];
void __iomem *regs;
struct dma_pool *desc_pool;
struct tasklet_struct tasklet;