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:
b6fd35e
)
USB: io_ti: remove redundant wait_until_sent
author
Johan Hovold
<jhovold@gmail.com>
Thu, 18 Apr 2013 15:33:18 +0000
(17:33 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 19 Apr 2013 17:24:13 +0000
(10:24 -0700)
Remove redundant wait_until_sent, which has already been handled by the
tty-layer, from break_ctl.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/io_ti.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/io_ti.c
b/drivers/usb/serial/io_ti.c
index ab979a2e6953f23cafee5b55d13f66d061d49a6f..158bf4bc29cc2b6f60c7211ad0e9f8b75186bf04 100644
(file)
--- a/
drivers/usb/serial/io_ti.c
+++ b/
drivers/usb/serial/io_ti.c
@@
-2400,8
+2400,6
@@
static void edge_break(struct tty_struct *tty, int break_state)
int status;
int bv = 0; /* Off */
- tty_wait_until_sent(tty, 0);
-
if (break_state == -1)
bv = 1; /* On */
status = ti_do_config(edge_port, UMPC_SET_CLR_BREAK, bv);