Commit 414850d9 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

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: default avatarJohan Hovold <johan@kernel.org>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ced04842
...@@ -624,7 +624,6 @@ static int get_serial_info(struct gb_tty *gb_tty, ...@@ -624,7 +624,6 @@ static int get_serial_info(struct gb_tty *gb_tty,
struct serial_struct tmp; struct serial_struct tmp;
memset(&tmp, 0, sizeof(tmp)); memset(&tmp, 0, sizeof(tmp));
tmp.flags = ASYNC_LOW_LATENCY | ASYNC_SKIP_TEST;
tmp.type = PORT_16550A; tmp.type = PORT_16550A;
tmp.line = gb_tty->minor; tmp.line = gb_tty->minor;
tmp.xmit_fifo_size = 16; tmp.xmit_fifo_size = 16;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment