Frank Gevaerts b059c81af7 [PATCH] USB Serial: clean tty fields on failed device open
If either the driver's open() method or try_module_get() fails, we need to
set 'tty->driver_data' and 'port->tty' to NULL in serial_open(), otherwise
we'll get an OOPS in usb_device_disconnect() when the device is disconnected.

Signed-off-by: Frank Gevaerts <frank.gevaerts@fks.be>
Acked-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-06-21 15:04:17 -07:00
..
2006-06-20 01:21:29 -07:00
2006-06-21 12:40:49 -07:00
2006-06-21 15:04:14 -07:00
2006-06-17 10:44:26 -07:00
2006-06-17 21:25:58 -07:00
2006-05-03 20:05:41 -07:00
2006-06-20 01:21:29 -07:00
2006-06-20 01:21:29 -07:00
2006-06-17 21:30:14 -07:00
2006-06-12 22:10:22 +01:00
2006-06-19 15:37:31 +01:00
2006-06-05 12:29:17 -07:00
2006-06-20 01:21:29 -07:00
2006-05-03 20:05:41 -07:00
2006-06-17 21:18:43 -07:00
2006-06-17 21:18:43 -07:00