Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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;