]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine: ipu: remove bogus NO_IRQ reference
authorArnd Bergmann <arnd@arndb.de>
Fri, 2 Sep 2016 23:22:02 +0000 (01:22 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 5 Sep 2016 11:10:52 +0000 (16:40 +0530)
commit86c7e6836479c4045a9a81ed5ea76c51d719f9c1
treef026612cf5a3821aa4cbf1a91e4cb237b1a41fd7
parent524c6e04f826cea8a34a27136d8f5925df9213ed
dmaengine: ipu: remove bogus NO_IRQ reference

A workaround for a warning introduced a use of the NO_IRQ
macro that should have been gone for a long time.

It is clear from the code that the value cannot actually
be used, but apparently there was a configuration at
some point that caused a warning, so instead of just
reverting that patch, this rearranges the code in a way that
the warning cannot reappear.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 6ef41cf6f721 ("dmaengine :ipu: change ipu_irq_handler() to remove compile warning")
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ipu/ipu_irq.c