patch-2.4.18 linux/drivers/usb/serial/usbserial.c
Next file: linux/drivers/usb/serial/visor.c
Previous file: linux/drivers/usb/serial/usb-serial.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Wed Jan 16 20:13:57 2002
- Orig file:
linux.orig/drivers/usb/serial/usbserial.c
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/usb/serial/usbserial.c linux/drivers/usb/serial/usbserial.c
@@ -1203,9 +1203,11 @@
/* if this device type has a startup function, call it */
if (type->startup) {
- if (type->startup (serial)) {
+ i = type->startup (serial);
+ if (i < 0)
goto probe_error;
- }
+ if (i > 0)
+ return serial;
}
/* set up the endpoint information */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)