diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-25 18:07:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-27 09:29:23 +0100 |
commit | 414850d9ce650bf75576126e52948595e3bbf871 (patch) | |
tree | 10f03379999d4a4aff24893a6d5994d6700e4d77 /drivers/staging/greybus | |
parent | ced04842d282a81b71c5d875340cee0fe4aedd2c (diff) | |
download | talos-obmc-linux-414850d9ce650bf75576126e52948595e3bbf871.tar.gz talos-obmc-linux-414850d9ce650bf75576126e52948595e3bbf871.zip |
staging: greybus: uart: fix TIOCGSERIAL flags
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>
Diffstat (limited to 'drivers/staging/greybus')
-rw-r--r-- | drivers/staging/greybus/uart.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/greybus/uart.c b/drivers/staging/greybus/uart.c index 6d39f4a04754..248ad6661a02 100644 --- 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; |