Commit a2f78cfc authored by Stefan Pledl's avatar Stefan Pledl Committed by Mike Frysinger

Blackfin: fix BF548 UART0 DMA IRQ translation

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: default avatarStefan Pledl <stefan.pledl@mesutronic.de>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 837ec2d5
...@@ -91,16 +91,16 @@ int channel2irq(unsigned int channel) ...@@ -91,16 +91,16 @@ int channel2irq(unsigned int channel)
ret_irq = IRQ_SPI1; ret_irq = IRQ_SPI1;
break; break;
case CH_UART0_RX: case CH_UART0_RX:
ret_irq = IRQ_UART_RX; ret_irq = IRQ_UART0_RX;
break; break;
case CH_UART0_TX: case CH_UART0_TX:
ret_irq = IRQ_UART_TX; ret_irq = IRQ_UART0_TX;
break; break;
case CH_UART1_RX: case CH_UART1_RX:
ret_irq = IRQ_UART_RX; ret_irq = IRQ_UART1_RX;
break; break;
case CH_UART1_TX: case CH_UART1_TX:
ret_irq = IRQ_UART_TX; ret_irq = IRQ_UART1_TX;
break; break;
case CH_EPPI0: case CH_EPPI0:
ret_irq = IRQ_EPPI0; ret_irq = IRQ_EPPI0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment