]> git.baikalelectronics.ru Git - uboot.git/commit
usb: kbd: Also accept keyboards with Interrupt OUT endpoint
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sat, 20 Feb 2021 16:26:06 +0000 (17:26 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 26 Feb 2021 14:30:55 +0000 (15:30 +0100)
commit325599d469883bd2369f115fea0e36b678007781
treec1332932196b2b55f1b970688d6bceb5e5d32664
parentd78ecf80d6d443c62bb4eb26cb92d0f9ae6662e2
usb: kbd: Also accept keyboards with Interrupt OUT endpoint

The OUT endpoint can just be ignored as it is not used, just as the
corresponding Set_Report request for IN-only interfaces. E.g. the
Linux gadget hid keyboard also provides an interrupt endpoint.

Also cleanup confusing debug messages like "found set protocol", which
is printed when a keyboard device is found, while the Set_Protocol request
is issued quite some time later.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
common/usb_kbd.c