]> git.dujemihanovic.xyz Git - u-boot.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)
commitba0b984bb0246b5ceea29fd0ac9d8b011a30f77b
treec1332932196b2b55f1b970688d6bceb5e5d32664
parentbc820d5bcc507366677c592e400e120481748c05
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