Hi,

Here's a patch against 2.4.17-pre2 that should fix the oops that some
people are seeing when their Palm m50x device disconnects from the
system.

thanks,

greg k-h


diff -Nru a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c
--- a/drivers/usb/serial/visor.c        Mon Dec  3 12:18:05 2001
+++ b/drivers/usb/serial/visor.c        Mon Dec  3 12:18:05 2001
@@ -714,9 +714,8 @@
 
        /* stop reads and writes on all ports */
        for (i=0; i < serial->num_ports; ++i) {
-               while (serial->port[i].open_count > 0) {
-                       visor_close (&serial->port[i], NULL);
-               }
+               serial->port[i].active = 0;
+               serial->port[i].open_count = 0;
        }
 }
 


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to