• Alan Stern's avatar
    [PATCH] USB: Update sound/usb/usbaudio.c · 6afd2055
    Alan Stern authored
    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.
    6afd2055
usbaudio.c 81.4 KB