Files
linux/drivers
Dave Young e4abe6658a usb-serial: fix usb_serial_register bug when boot with nousb param
With "nousb" cmdline booting, built-in serial drivers (ie. airecable)
will trigger kernel oops.

Indeed, if nousb, usb_serial_init will failed, and the usb serial bus type
will not be registerd, then usb_serial_register call driver_register
which try to register the driver to a not registered bus.

Here add usb_disabled() check in usb_serial_register to fix it.

Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-03-24 16:20:33 -07:00
..
…
2009-02-18 17:41:38 -08:00
2009-03-10 15:55:10 -07:00
2009-03-13 01:16:58 -04:00
…
…
…
2009-02-18 15:37:56 -08:00
…
…
2009-02-26 10:32:31 -08:00
…
…
2009-02-27 16:26:22 -08:00
…
…
…
2009-02-11 14:25:36 -08:00
…
…
2009-02-18 15:37:56 -08:00
…
…
…
…
…
…