Re: [RFC/PATCH] USB reset on atomic context

Inaky Perez-Gonzalez <inaky-VuQAYsv1563Yd54FQh9/[email protected]> Wed, 13 Aug 2008 12:07:04 -0700
Newsgroups gmane.linux.usb.general,gmane.linux.usb.devel
Organization Intel Corporation
Message-ID <[email protected]>
On Wednesday 13 August 2008, David Vrabel wrote:
> Inaky Perez-Gonzalez wrote:
> > Hi All
> > 
> > This patch introduces a new call to be able to do a USB reset
> > from an atomic contect. This is quite helpful in USB callbacks
> > to handle errors (when the only thing that can be done is to
> > do a device reset). The Wireless USB code for using wire adaptors
> > needs this functionality.
> 
> I've since changed how resets are handled in the UWB/WUSB code and this
> is no longer necessary for HWAs (reset requests go via the UWB stack
> which carries them in out in the uwbd thread).

Ouch...doesn't that make the error handling more twisted? Where do you have
the code so i can take a look?

I don't see how it'd be different for DWA though -- the base WA code is 
the same both for HWA and DWA.


-- 
Inaky

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html