commit | 0e4da950904a27066e3e715b43c4b4981a016693 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Jan 11 20:34:52 2015 +0100 |
committer | Marek Vasut <marex@denx.de> | Sun Jan 18 12:31:36 2015 +0100 |
tree | 3027f5a4479bef1fe5f3484906dd68dd864e3a94 | |
parent | 498ab953da0ee332aca85343f1ad268047057687 [diff] |
musb-new: Properly remove a transfer from the schedule on timeout If a transfer / urb times-out, properly remove it from the schedule, rather then letting it sit on the ep head. This stops the musb code from getting confused and refusing to queue further transfers after a timeout. Tested by unplugging a usb-keyboard, replugging it and doing a usb-reset, before this commit the keyboard would not work after the usb-reset. Signed-off-by: Hans de Goede <hdegoede@redhat.com>