diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-05-10 14:10:22 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-14 18:49:32 -0600 |
commit | 47976d2c16c1921f6115936fea93a61e1881787d (patch) | |
tree | 1f48baa1cc11b65dc64367d5215630d3714ce319 /drivers/soc | |
parent | e253637be72c3a50ce6ba5992170b7a4b0a6f046 (diff) | |
download | u-boot-imx-47976d2c16c1921f6115936fea93a61e1881787d.zip u-boot-imx-47976d2c16c1921f6115936fea93a61e1881787d.tar.gz u-boot-imx-47976d2c16c1921f6115936fea93a61e1881787d.tar.bz2 |
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>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions