Home
last modified time | relevance | path

Searched hist:e8672e3f0ec571d0ca7ccd8cbbeb113802c1d443 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/musb-new/
H A Dmusb_uboot.ce8672e3f0ec571d0ca7ccd8cbbeb113802c1d443 Sun Jan 11 19:34:50 UTC 2015 Hans de Goede <hdegoede@redhat.com> musb-new: Fix interrupt transfers not working

For bulk and ctrl transfers common/usb.c sets udev->status = USB_ST_NOT_PROC,
but it does not do so for interrupt transfers.

musb_uboot.c: submit_urb() however was waiting for USB_ST_NOT_PROC to become 0,
and thus without anyone setting USB_ST_NOT_PROC would exit immediately for
interrupt urbs, returning the urb status of EINPROGRESS as error.

This commit fixes this, thereby also making usb_kbd.c work together with
musb_new and CONFIG_SYS_USB_EVENT_POLL.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>