patch-2.3.99-pre6 linux/drivers/usb/acm.c

Next file: linux/drivers/usb/audio.c
Previous file: linux/drivers/usb/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/usb/acm.c linux/drivers/usb/acm.c
@@ -52,10 +52,6 @@
 #define DEBUG
 #include <linux/usb.h>
 
-void tty_register_devfs (struct tty_driver *driver, unsigned int flags,
-			unsigned minor);
-void tty_unregister_devfs (struct tty_driver *driver, unsigned minor);
-
 /*
  * CMSPAR, some architectures can't have space and mark parity.
  */
@@ -261,7 +257,8 @@
 	if (urb->status)
 		dbg("nonzero write bulk status received: %d", urb->status);
 
-	queue_task(&acm->tqueue, &tq_scheduler);
+	queue_task(&acm->tqueue, &tq_immediate);
+	mark_bh(IMMEDIATE_BH);
 }
 
 static void acm_softint(void *private)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)