]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: usb: Add support for interrupt queues to the dm usb code
authorHans de Goede <hdegoede@redhat.com>
Sun, 10 May 2015 12:10:18 +0000 (14:10 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:39:38 +0000 (22:39 +0200)
commitf9971bf1cb3197c31f5c353994987bc63e3c8ff3
tree187d2379adb0b58c3e5d20c362d3cdc6e9260315
parent3edf53a54d485c5027b0d81020d388e6ed003b4d
dm: usb: Add support for interrupt queues to the dm usb code

Interrupt endpoints typically are polled for a long time by the usb
controller before they return anything, so calls to submit_int_msg() can
take a long time to complete this.

To avoid this the u-boot code has the an interrupt queue mechanism / API,
add support for this to the driver-model usb code and implement it for the
dm ehci code.

See the added doc comments for more details.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/usb/host/ehci-hcd.c
drivers/usb/host/usb-uclass.c
include/usb.h