Title: [8140] trunk/drivers/usb/gadget/u_serial.c: bug[#5813]low_latency mode is not allowed due to the changes of tty layer, otherwise it will cause 'scheduling while atomic' problem
Revision
8140
Author
cliff
Date
2010-01-11 02:55:23 -0500 (Mon, 11 Jan 2010)

Log Message

bug[#5813]low_latency mode is not allowed due to the changes of tty layer, otherwise it will cause 'scheduling while atomic' problem

Modified Paths

Diff

Modified: trunk/drivers/usb/gadget/u_serial.c (8139 => 8140)


--- trunk/drivers/usb/gadget/u_serial.c	2010-01-09 07:14:48 UTC (rev 8139)
+++ trunk/drivers/usb/gadget/u_serial.c	2010-01-11 07:55:23 UTC (rev 8140)
@@ -783,11 +783,6 @@
 	port->open_count = 1;
 	port->openclose = false;
 
-	/* low_latency means ldiscs work in tasklet context, without
-	 * needing a workqueue schedule ... easier to keep up.
-	 */
-	tty->low_latency = 1;
-
 	/* if connected, start the I/O stream */
 	if (port->port_usb) {
 		struct gserial	*gser = port->port_usb;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to