ChangeSet 1.787, 2002/12/05 14:21:03-08:00, ganesh@tuxtop.vxindia.veritas.com [PATCH] USB ipaq: brown paper bag bug - uninitialized spinlock fixed. diff -Nru a/drivers/usb/serial/ipaq.c b/drivers/usb/serial/ipaq.c --- a/drivers/usb/serial/ipaq.c Thu Dec 5 14:48:34 2002 +++ b/drivers/usb/serial/ipaq.c Thu Dec 5 14:48:34 2002 @@ -63,7 +63,7 @@ /* * Version Information */ -#define DRIVER_VERSION "v0.2" +#define DRIVER_VERSION "v0.3" #define DRIVER_AUTHOR "Ganesh Varadarajan " #define DRIVER_DESC "USB Compaq iPAQ, HP Jornada, Casio EM500 driver" @@ -516,6 +516,7 @@ static int __init ipaq_init(void) { + spin_lock_init(&write_list_lock); usb_serial_register(&ipaq_device); info(DRIVER_DESC " " DRIVER_VERSION);