]> git.hungrycats.org Git - linux/commit
[PATCH] USB: Update sound/usb/usbaudio.c
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 27 Jan 2004 06:37:40 +0000 (22:37 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 27 Jan 2004 06:37:40 +0000 (22:37 -0800)
commit6afd205508a28c2a40c1e7747235d2bc2065ed02
treee2b5641e05e6202f71262e0673ba90cbdc86bc03
parent962fd3324214498f04377c2947d8bd1091e0cd3c
[PATCH] USB: Update sound/usb/usbaudio.c

On Tue, 27 Jan 2004, Greg KH wrote:

> Hm, can you send me a patch to fix up snd_usb_extigy_boot_quirk() in
> sound/usb/usbaudio.c now that this patch broke that code?  :)

Here it is.  The problem with changing things in the core is always that
you may miss some of the repercussions.  In this case the patch will
restore the code's original functionality.

However the whole thing looks a bit creaky to me.  Changing device
descriptors and who knows what else without informing usbcore isn't a good
idea.  What this code _really_ appears to need is some form of
usb_device_reenumerate().  Such a function would fit very nicely into the
framework I've worked out for the revised usb_device_reset(); maybe I'll
add it in there.  It would do essentially the same thing as device_reset
except for skipping the actual port reset.
sound/usb/usbaudio.c