Searched hist:"47976 d2c16c1921f6115936fea93a61e1881787d" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | ohci-hcd.c | 47976d2c16c1921f6115936fea93a61e1881787d Sun May 10 12:10:22 UTC 2015 Hans de Goede <hdegoede@redhat.com> 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>
|