commit | 47976d2c16c1921f6115936fea93a61e1881787d | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun May 10 14:10:22 2015 +0200 |
committer | Simon Glass <sjg@chromium.org> | Thu May 14 18:49:32 2015 -0600 |
tree | 1f48baa1cc11b65dc64367d5215630d3714ce319 | |
parent | e253637be72c3a50ce6ba5992170b7a4b0a6f046 [diff] |
usb: ohci: Do not resubmit and leak urbs for interrupt packets The u-boot usb code uses polling for all endpoints, including interrupt endpoints, so urbs should never be automatically resubmitted. This also fixes a leak of the urb, as submit_int_msg() did not check if an already re-submitted urb exists before creating a new one. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Marek Vasut <marex@denx.de>