diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-09-24 14:06:11 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2014-11-04 06:04:01 +0100 |
commit | 8e553119839eba13140a2294418a831c114ddea2 (patch) | |
tree | 184a65f1bfb0a41d04f5ad1664d1d2cc7289994a /test/vboot | |
parent | 8f8d7d2451115059c36e0551eea9d8770c346ea2 (diff) | |
download | u-boot-imx-8e553119839eba13140a2294418a831c114ddea2.zip u-boot-imx-8e553119839eba13140a2294418a831c114ddea2.tar.gz u-boot-imx-8e553119839eba13140a2294418a831c114ddea2.tar.bz2 |
usb: kbd: Add (optional) support for using an interrupt queue for polling
Waiting an interrupt packet to complete in usb_kbd_poll_for_event, causes
a 40 ms latency for each call to usb_kbd_testc, which is undesirable.
Using control messages leads to lower (but still not 0) latency, but some
devices do not work well with control messages (e.g. my kvm behaves funny
with them).
This commit adds support for using the int_queue mechanism which at least
the ehci-hcd driver supports. This allows polling with 0 latency, while
using interrupt packets.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'test/vboot')
0 files changed, 0 insertions, 0 deletions