Re: [PATCH] USB: ti_usb: fix module removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 2010-12-28 at 22:21 +0200, Ionut Nicu wrote:
> If usb_deregister() is called after usb_serial_deregister() when
> the device is plugged in, the following Oops occurs:

This is true for all usb serial drivers. I tested it also with pl2303
and I get the same crash.

I wasn't really sure if sending this patch is the right way to fix it.
This driver seems to be the only one calling these two functions in the
order that causes the Oops.

Maybe the functions are designed to be called this way, or maybe there's
a bug that needs to be fixed in the usb serial core rather than applying
this patch. I'm waiting for your thoughts on this.

Thanks,
Ionut.

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux