[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200809120118.26815.oliver@neukum.org>
Date: Fri, 12 Sep 2008 01:18:26 +0200
From: Oliver Neukum <oliver@...kum.org>
To: Alan Stern <stern@...land.harvard.edu>
Cc: Denis Joseph Barrow <D.Barow@...ion.com>,
Linux USB kernel mailing list <linux-usb@...r.kernel.org>,
Linux netdev Mailing list <netdev@...r.kernel.org>,
"Greg Kroah-Hartman" <gregkh@...e.de>,
Andrew Bird <ajb@...eresystems.co.uk>
Subject: Re: a new problem with the hso driver
> > On a slightly related issue
> > we get an error -22 ie -EINVAL from usb_submit_urb
> > this though I haven't investigated properly appears to happen when the device is suspended
suspend? Are you sure it doesn't come from resume?
BTW:
if (serial->shared_int) {
mutex_lock(&serial->shared_int->shared_int_lock);
if (serial->shared_int->use_count &&
(--serial->shared_int->use_count == 0)) {
This code deserves a honourable mentioning in the obfuscated C contest.
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists