commit | 278733766f339cd835c9bf6d85ee3124884db5bf | [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 | cebc5b772f44ed0cd0122bbe2897b8c641bb8ab2 [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>