dma: mxs-dma: Cleanup interrupt handler
commitb2d639890b0d3379e844f6bb3c90d67ab292c80b
authorMarkus Pargmann <mpa@pengutronix.de>
Tue, 29 Oct 2013 07:47:45 +0000 (29 08:47 +0100)
committerVinod Koul <vinod.koul@intel.com>
Wed, 13 Nov 2013 10:08:30 +0000 (13 15:38 +0530)
treead8d1df7fc51000a581bb88f540d088f3df7511b
parent8de7a7d95049bdbe454ade7add08d893efe5a456
dma: mxs-dma: Cleanup interrupt handler

The DMA interrupt handler uses its controll registers to handle all
available channel interrupts it can find.

This patch changes it to handle only one interrupt by directly mapping
irq number to channel. It also includes a cleanup of the ctrl-register
usage.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mxs-dma.c