Skip to content
Snippets Groups Projects
Commit 8f62ca64 authored by Patrick Georgi's avatar Patrick Georgi Committed by Marek Vasut
Browse files

usb: ehci: Support interrupt transfers via periodic list


Interrupt transfers aren't meant to be used from the async list
(the EHCI spec indicates trouble with low/full-speed intr on async).

Build a periodic list instead, and provide an API to make use of it.
Then, use that API from the existing interrupt transfer API.

This provides support for USB keyboards using EHCI.

Use timeouts to ensure we cannot get stuck in the keyboard scanning
if something wrong happens (USB device unplugged or fatal I/O error)

Signed-off-by: default avatarVincent Palatin <vpalatin@chromium.org>
Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent c74b0116
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment