OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.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
9d85437
..
efcd443
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);