]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmaengine: dw: return immediately from IRQ when DMA isn't in use
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 4 Dec 2015 21:49:24 +0000 (23:49 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Jan 2016 13:11:54 +0000 (14:11 +0100)
commit02a21b79acdb48b312f1351fd7cc728e66e81149
tree3af9afe12232ea84f6fe7903854779c223243791
parent3214658855c01a0dd62f02feb2ce79846524c6a0
dmaengine: dw: return immediately from IRQ when DMA isn't in use

There is no need to bother the hardware when all channels are idle. We have not
to get any interrupts.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/dma/dw/core.c