提交 414850d9 编写于 作者: J Johan Hovold 提交者: 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: NJohan Hovold <johan@kernel.org>
Reviewed-by: NViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册