Skip to content

Commit

Permalink
Blackfin: fix BF548 UART0 DMA IRQ translation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Pledl authored and Mike Frysinger committed Sep 17, 2009
1 parent 837ec2d commit a2f78cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/blackfin/mach-bf548/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a2f78cf

Please sign in to comment.