projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'work.tty-ioctl' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git]
/
drivers
/
usb
/
serial
/
ti_usb_3410_5052.c
diff --git
a/drivers/usb/serial/ti_usb_3410_5052.c
b/drivers/usb/serial/ti_usb_3410_5052.c
index
2657382
..
dd0ad67
100644
(file)
--- a/
drivers/usb/serial/ti_usb_3410_5052.c
+++ b/
drivers/usb/serial/ti_usb_3410_5052.c
@@
-1101,7
+1101,7
@@
static void ti_break(struct tty_struct *tty, int break_state)
static int ti_get_port_from_code(unsigned char code)
{
- return (code >>
4) - 3
;
+ return (code >>
6) & 0x01
;
}
static int ti_get_func_from_code(unsigned char code)