summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/omap2430.c
diff options
context:
space:
mode:
authorMaxim Devaev <mdevaev@gmail.com>2021-07-21 20:03:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-27 15:55:49 +0200
commitafcff6dc690e24d636a41fd4bee6057e7c70eebd (patch)
tree1340c4b6358f5081487a506283da8fd8dfadde8c /drivers/usb/musb/omap2430.c
parentusb: gadget: f_hid: fixed NULL pointer dereference (diff)
downloadlinux-afcff6dc690e24d636a41fd4bee6057e7c70eebd.tar.xz
linux-afcff6dc690e24d636a41fd4bee6057e7c70eebd.zip
usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers
The USB HID standard declares mandatory support for GET_IDLE and SET_IDLE requests for Boot Keyboard. Most hosts can handle their absence, but others like some old/strange UEFIs and BIOSes consider this a critical error and refuse to work with f_hid. This primitive implementation of saving and returning idle is sufficient to meet the requirements of the standard and these devices. Acked-by: Felipe Balbi <balbi@kernel.org> Cc: stable <stable@vger.kernel.org> Signed-off-by: Maxim Devaev <mdevaev@gmail.com> Link: https://lore.kernel.org/r/20210721180351.129450-1-mdevaev@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb/omap2430.c')
0 files changed, 0 insertions, 0 deletions