projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c635fd3
)
blackfin: Fix compile failure in tty code
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Mon, 4 Aug 2008 16:22:11 +0000
(17:22 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 5 Aug 2008 00:12:06 +0000
(17:12 -0700)
Blackfin peers into the ldisc in an odd way for IRDA snooping which
therefore got missed. Simple enough fix.
Closes bug #11233
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/bfin_5xx.c
patch
|
blob
|
history
diff --git
a/drivers/serial/bfin_5xx.c
b/drivers/serial/bfin_5xx.c
index 9d8543762a30fa858ee282d404dee0dd5934718e..efcd44344fb1e011e9b6b926a67dfd5d0d2d6443 100644
(file)
--- a/
drivers/serial/bfin_5xx.c
+++ b/
drivers/serial/bfin_5xx.c
@@
-817,7
+817,7
@@
static void bfin_serial_set_ldisc(struct uart_port *port)
if (line >= port->info->port.tty->driver->num)
return;
- switch (port->info->port.tty->
ldisc.num
) {
+ switch (port->info->port.tty->
termios->c_line
) {
case N_IRDA:
val = UART_GET_GCTL(&bfin_serial_ports[line]);
val |= (IREN | RPOLC);