summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ipu
diff options
context:
space:
mode:
authorJiang Liu <jiang.liu@linux.intel.com>2015-07-13 22:39:54 +0200
committerVinod Koul <vinod.koul@intel.com>2015-07-16 15:11:18 +0200
commit4d9efdfce73c8f0c9e39d118833e4776719a8d40 (patch)
treef6d112d67de15c836caede8190ce3b58d4d09e52 /drivers/dma/ipu
parentdmaengine: ipu: Consolidate chained IRQ handler install/remove (diff)
downloadlinux-4d9efdfce73c8f0c9e39d118833e4776719a8d40.tar.xz
linux-4d9efdfce73c8f0c9e39d118833e4776719a8d40.zip
dmaengine: ipu: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc
Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we already have a pointer to corresponding irq_desc. This is also a preparation for the removal of the 'irq' argument from interrupt flow handlers. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Vinod Koul <vinod.koul@intel.com> Cc: dmaengine@vger.kernel.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ipu')
-rw-r--r--drivers/dma/ipu/ipu_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ipu/ipu_irq.c b/drivers/dma/ipu/ipu_irq.c
index 8d36f07b5801..4357063980e1 100644
--- a/drivers/dma/ipu/ipu_irq.c
+++ b/drivers/dma/ipu/ipu_irq.c
@@ -268,7 +268,7 @@ int ipu_irq_unmap(unsigned int source)
/* Chained IRQ handler for IPU error interrupt */
static void ipu_irq_err(unsigned int irq, struct irq_desc *desc)
{
- struct ipu *ipu = irq_get_handler_data(irq);
+ struct ipu *ipu = irq_desc_get_handler_data(desc);
u32 status;
int i, line;