]> git.baikalelectronics.ru Git - kernel.git/commit
at_hdmac: bugfix for enabling channel irq
authorNikolaus Voss <n.voss@weinmann.de>
Tue, 17 Jan 2012 09:28:33 +0000 (10:28 +0100)
committerVinod Koul <vinod.koul@linux.intel.com>
Tue, 31 Jan 2012 03:39:04 +0000 (09:09 +0530)
commitdb6d87fb948f96e66853d4324084828ba9006f75
tree57f220d3f7cf54d05273582aac2da4d4e4be6aa9
parent57972bb395c3c00f6301f502e045ce7bbcac7d49
at_hdmac: bugfix for enabling channel irq

commit 729ed1427a9beff1016244ecc3b8a3e6c1d4dda5 deleted redundant
chan_id and chancnt initialization in dma drivers as this is done
in dma_async_device_register().

However, atc_enable_irq() relied on chan_id set before registering
the device, what left only channel 0 functional for this driver.

This patch introduces atc_enable/disable_chan_irq() as a variant
of atc_enable/disable_irq() with the channel as explicit argument.

Signed-off-by: Nikolaus Voss <n.voss@weinmann.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/at_hdmac.c
drivers/dma/at_hdmac_regs.h