[PATCH 5/9] usbfs: Kill urbs on interface before doing a set_interface

2013-10-04 Thread Hans de Goede
The usb_set_interface documentation says: * Also, drivers must not change altsettings while urbs are scheduled for * endpoints in that interface; all such urbs must first be completed * (perhaps forced by unlinking). For in kernel drivers we trust the drivers to get this right, but we cannot t

[PATCH 5/9] usbfs: Kill urbs on interface before doing a set_interface

2013-10-09 Thread Hans de Goede
The usb_set_interface documentation says: * Also, drivers must not change altsettings while urbs are scheduled for * endpoints in that interface; all such urbs must first be completed * (perhaps forced by unlinking). For in kernel drivers we trust the drivers to get this right, but we cannot t