[U-Boot] [PATCH v5 06/15] dm: usb: Add support for interrupt queues to the dm usb code

Simon Glass sjg at chromium.org
Tue May 12 00:37:07 CEST 2015


On 10 May 2015 at 06:10, Hans de Goede <hdegoede at redhat.com> wrote:
> 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 at redhat.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
>  drivers/usb/host/ehci-hcd.c   | 26 +++++++++++++++++++++++
>  drivers/usb/host/usb-uclass.c | 36 ++++++++++++++++++++++++++++++++
>  include/usb.h                 | 48 ++++++++++++++++++++++++++++++++++++++++++-
>  3 files changed, 109 insertions(+), 1 deletion(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list