From: Luiz Fernando Capitulino <lcapitulino@mandriva.com.br>
To: gregkh@suse.de
Cc: linux-kernel@vger.kernel.org,
linux-usb-devel@lists.sourceforge.net, ehabkost@mandriva.com
Subject: [PATCH 10/10] usb-serial: adds initialization code for all ports.
Date: Tue, 6 Dec 2005 10:04:18 -0200 [thread overview]
Message-ID: <20051206100418.0fe255ff.lcapitulino@mandriva.com.br> (raw)
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
reply other threads:[~2005-12-06 12:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051206100418.0fe255ff.lcapitulino@mandriva.com.br \
--to=lcapitulino@mandriva.com.br \
--cc=ehabkost@mandriva.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®