lkml.org 
[lkml]   [2003]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-usb-devel] Re: [OOPS, usbcore, releaseintf] 2.6.0-test10-mm1
On Fri, 12 Dec 2003, Oliver Neukum wrote:

> Not so simple. Khubd goes down a list. If the first item on its list
> is not your failed reset, a deadlock will occur.
>
> After you have submitted the URB that really does the reset, you
> are commited. You must either set a valid address or disable the port.
> You can rely on nobody else to do that.

I think we agree on that. It was never my intention that fixing up a
failure between the port reset and setting the device address should be
put off for later handling by khubd. That would be done immediately.

Hoever the consequent changes to the device structure (i.e., everything
needed to reflect the fact that it is disconnected) could be done in
another thread.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:1.116 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site