projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ced0484
)
staging: greybus: uart: fix TIOCGSERIAL flags
author
Johan Hovold
<johan@kernel.org>
Wed, 25 Jan 2017 17:07:52 +0000
(18:07 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 27 Jan 2017 08:29:23 +0000
(09:29 +0100)
This driver does not have a low-latency mode and should not report
anything else.
Also drop the skip-test flag which isn't used either.
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/uart.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/uart.c
b/drivers/staging/greybus/uart.c
index 6d39f4a04754cec83d3ff3c135dfb559acb5e62f..248ad6661a02f01c62613592f1daae55add91128 100644
(file)
--- a/
drivers/staging/greybus/uart.c
+++ b/
drivers/staging/greybus/uart.c
@@
-624,7
+624,6
@@
static int get_serial_info(struct gb_tty *gb_tty,
struct serial_struct tmp;
memset(&tmp, 0, sizeof(tmp));
- tmp.flags = ASYNC_LOW_LATENCY | ASYNC_SKIP_TEST;
tmp.type = PORT_16550A;
tmp.line = gb_tty->minor;
tmp.xmit_fifo_size = 16;