mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 10/10] usb-serial: adds initialization code for all ports.
@ 2005-12-06 12:04 Luiz Fernando Capitulino
  0 siblings, 0 replies; only message in thread
From: Luiz Fernando Capitulino @ 2005-12-06 12:04 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, linux-usb-devel, ehabkost


 Initialize the write URB lock for all ports.

Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br>

 drivers/usb/serial/usb-serial.c |    1 +
 1 file changed, 1 insertion(+)

diff -Nparu -X /home/lcapitulino/kernels/dontdiff a/drivers/usb/serial/usb-serial.c a~/drivers/usb/serial/usb-serial.c
--- a/drivers/usb/serial/usb-serial.c	2005-12-04 20:12:18.000000000 -0200
+++ a~/drivers/usb/serial/usb-serial.c	2005-12-04 20:12:55.000000000 -0200
@@ -784,6 +784,7 @@ int usb_serial_probe(struct usb_interfac
 		port->number = i + serial->minor;
 		port->serial = serial;
 		sema_init(&port->sem, 1);
+		usb_serial_write_urb_lock_init(port);
 		INIT_WORK(&port->work, usb_serial_port_softint, port);
 		serial->port[i] = port;
 	}


-- 
Luiz Fernando N. Capitulino

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-06 12:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-06 12:04 [PATCH 10/10] usb-serial: adds initialization code for all ports Luiz Fernando Capitulino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®