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:
2c992cd
)
USB: ti_usb_3410_5052: remove redundant drain from break_ctl
author
Johan Hovold
<
[email protected]
>
Thu, 18 Apr 2013 15:33:22 +0000
(17:33 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 19 Apr 2013 17:24:14 +0000
(10:24 -0700)
Remove redundant drain, which has already been handled by the tty-layer,
from break_ctl.
Signed-off-by: Johan Hovold <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/serial/ti_usb_3410_5052.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/ti_usb_3410_5052.c
b/drivers/usb/serial/ti_usb_3410_5052.c
index 062b6d872ea3b2e7178a80dd4b5e6ce4617e3634..6a40823e85c454aa17a00f4ae934cdb878b6c34e 100644
(file)
--- a/
drivers/usb/serial/ti_usb_3410_5052.c
+++ b/
drivers/usb/serial/ti_usb_3410_5052.c
@@
-976,8
+976,6
@@
static void ti_break(struct tty_struct *tty, int break_state)
if (tport == NULL)
return;
- ti_drain(tport, (tport->tp_closing_wait*HZ)/100);
-
status = ti_write_byte(port, tport->tp_tdev,
tport->tp_uart_base_addr + TI_UART_OFFSET_LCR,
TI_LCR_BREAK, break_state == -1 ? TI_LCR_BREAK : 0);