Blackfin: fix BF548 UART0 DMA IRQ translation
authorStefan Pledl <stefan.pledl@mesutronic.de>
Sat, 11 Jul 2009 11:50:42 +0000 (13:50 +0200)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 01:31:46 +0000 (21:31 -0400)
The initial BF54x port included some defines to keep code simple across
different processors, but it just ended up causing the UART0 DMA IRQs to
be set to the UART1 channels.

Signed-off-by: Stefan Pledl <stefan.pledl@mesutronic.de>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf548/dma.c

index 535980652bf6acc3f7182e6a019929b96c3a4245..d9239bc05dd4a945b1a0ea6048cfff2ecdc510f7 100644 (file)
@@ -91,16 +91,16 @@ int channel2irq(unsigned int channel)
                ret_irq = IRQ_SPI1;
                break;
        case CH_UART0_RX:
-               ret_irq = IRQ_UART_RX;
+               ret_irq = IRQ_UART0_RX;
                break;
        case CH_UART0_TX:
-               ret_irq = IRQ_UART_TX;
+               ret_irq = IRQ_UART0_TX;
                break;
        case CH_UART1_RX:
-               ret_irq = IRQ_UART_RX;
+               ret_irq = IRQ_UART1_RX;
                break;
        case CH_UART1_TX:
-               ret_irq = IRQ_UART_TX;
+               ret_irq = IRQ_UART1_TX;
                break;
        case CH_EPPI0:
                ret_irq = IRQ_EPPI0;