On Tue, Jun 13, 2006 at 02:45:12PM -0300, Luiz Fernando N. Capitulino wrote:
> Could you redo and submit please?
OK. Here it is:
Fixes a BUG on disconnect. gregkh-usb-usb-rmmod-pl2303-after-28.patch (from -mm trees)
is also needed to fix all problems.
Signed-off-by: Frank Gevaerts <[email protected]>
diff -urp linux-2.6.17-rc6/drivers/usb/serial/usb-serial.c linux-2.6.17-rc6.a/drivers/usb/serial/usb-serial.c
--- linux-2.6.17-rc6/drivers/usb/serial/usb-serial.c 2006-06-14 13:03:55.000000000 +0200
+++ linux-2.6.17-rc6.a/drivers/usb/serial/usb-serial.c 2006-06-14 13:23:34.000000000 +0200
@@ -230,6 +232,8 @@ bailout_module_put:
module_put(serial->type->driver.owner);
bailout_mutex_unlock:
port->open_count = 0;
+ tty->driver_data = NULL;
+ port->tty = NULL;
mutex_unlock(&port->mutex);
bailout_kref_put:
kref_put(&serial->kref, destroy_serial);
--
Frank Gevaerts [email protected]
fks bvba - Formal and Knowledge Systems http://www.fks.be/
Stationsstraat 108 Tel: ++32-(0)11-21 49 11
B-3570 ALKEN Fax: ++32-(0)11-22 04 19
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: pl2303 ttyUSB0: pl2303_open - failed submitting interrupt urb, error -28
- pl2303 ttyUSB0: pl2303_open - failed submitting interrupt urb, error -28
- Re: pl2303 ttyUSB0: pl2303_open - failed submitting interrupt urb, error -28
- Re: pl2303 ttyUSB0: pl2303_open - failed submitting interrupt urb, error -28
- Re: pl2303 ttyUSB0: pl2303_open - failed submitting interrupt urb, error -28
- Re: pl2303 ttyUSB0: pl2303_open - failed submitting interrupt urb, error -28
- Re: pl2303 ttyUSB0: pl2303_open - failed submitting interrupt urb, error -28
- Re: pl2303 ttyUSB0: pl2303_open - failed submitting interrupt urb, error -28
- Re: pl2303 ttyUSB0: pl2303_open - failed submitting interrupt urb, error -28
- Re: pl2303 ttyUSB0: pl2303_open - failed submitting interrupt urb, error -28
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]