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

Commit 4d8d4d25 authored by Chuck Ebbert's avatar Chuck Ebbert Committed by Linus Torvalds
Browse files

Remove low_latency flag setting from nozomi and mxser drivers



The kernel oopses if this flag is set.

[and neither driver should set it as they call tty_flip_buffer_push from IRQ
 paths so have always been buggy]

Signed-off-by: default avatarChuck Ebbert <cebbert@redhat.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6af9a43d
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -1048,8 +1048,6 @@ static int mxser_open(struct tty_struct *tty, struct file *filp)
	if (retval)
	if (retval)
		return retval;
		return retval;


	/* unmark here for very high baud rate (ex. 921600 bps) used */
	tty->low_latency = 1;
	return 0;
	return 0;
}
}


+0 −2
Original line number Original line Diff line number Diff line
@@ -1591,8 +1591,6 @@ static int ntty_open(struct tty_struct *tty, struct file *file)


	/* Enable interrupt downlink for channel */
	/* Enable interrupt downlink for channel */
	if (port->port.count == 1) {
	if (port->port.count == 1) {
		/* FIXME: is this needed now ? */
		tty->low_latency = 1;
		tty->driver_data = port;
		tty->driver_data = port;
		tty_port_tty_set(&port->port, tty);
		tty_port_tty_set(&port->port, tty);
		DBG1("open: %d", port->token_dl);
		DBG1("open: %d", port->token_dl);