diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-01-11 20:34:50 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-01-18 12:31:36 +0100 |
commit | e8672e3f0ec571d0ca7ccd8cbbeb113802c1d443 (patch) | |
tree | 563477257c6c1014869a1553f9e2288154ec5341 /common/env_flash.c | |
parent | dc9a3912709e901eb8e513492fdad9743535b86f (diff) | |
download | u-boot-imx-e8672e3f0ec571d0ca7ccd8cbbeb113802c1d443.zip u-boot-imx-e8672e3f0ec571d0ca7ccd8cbbeb113802c1d443.tar.gz u-boot-imx-e8672e3f0ec571d0ca7ccd8cbbeb113802c1d443.tar.bz2 |
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>
Diffstat (limited to 'common/env_flash.c')
0 files changed, 0 insertions, 0 deletions