]> xenbits.xensource.com Git - seabios.git/commit
hw/usb-hid: Don't abort if setting key repeat rate fails
authorMatt DeVillier <matt.devillier@gmail.com>
Fri, 13 Dec 2019 03:51:19 +0000 (21:51 -0600)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 6 Mar 2020 13:27:38 +0000 (08:27 -0500)
commit24d3938ca96a6420ec1a5f1f8479f90f2e9fdd56
tree690365ffc6fda94f9b3dd9e0224009238b8e607b
parent81ddc4c6ecafe2b7ca2ee4ac78d405272208fe86
hw/usb-hid: Don't abort if setting key repeat rate fails

Since the USB stack doesn't handle stalled pipes,
don't abort keyboard setup if the set_idle command fails,
since it's a non-critical feature. Instead, log a warning.

Test: build/boot Google Pixel Slate, observe keyboard functional

Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
src/hw/usb-hid.c