• David Brownell's avatar
    [PATCH] USB: revert "fix" to usb_set_interface() · a81e7ecc
    David Brownell authored
    This reverts a recent change to usb_set_interface().  The change worked
    around a quirk in certain devices, but doing this in usbcore creates
    needless regressions for other devices.  More appropriate fixes won't
    put such handling in usbcore.
    
    Basically it's tricky to do a full software reset of USB device state, since
    the devices don't all act the same.  This adds a note to the kerneldoc for
    the usb_reset_configuration() call to highlight the quirk this was working
    around:  endpoint data toggles not being reset.
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    a81e7ecc
message.c 44.6 KB