]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: workaround non-working keyboards.
authorVincent Palatin <vpalatin@chromium.org>
Sat, 11 May 2013 02:48:59 +0000 (19:48 -0700)
committerMarek Vasut <marex@denx.de>
Wed, 12 Jun 2013 20:22:50 +0000 (22:22 +0200)
commit5da2dc9789abecb1b018beb0c93f4c38c2985bc6
tree565dca5d5edcef646827fdfde5ae33806a16ab7e
parent09defbc75b46991b794f35957e986acbfe0c7946
usb: workaround non-working keyboards.

If the USB keyboard is not answering properly the first request on its
interrupt endpoint, just skip it and try the next one.

This workarounds an issue with a wireless mouse dongle which presents
itself both as a keyboard and a mouse but has a non-functional keyboard
interface.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
(cherry picked from commit 012bbf0ce0301be2482857e3f03b481dd15c2340)
Rebased to upstream/master:
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
common/usb_kbd.c