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>
parent
2867652e
-
mentioned in commit 92bb8520
-
mentioned in commit 8b575d82
-
mentioned in commit 683702df
-
mentioned in commit 1f201550
-
mentioned in commit 12620d87
-
mentioned in commit 74cd6464
-
mentioned in commit f780a958
-
mentioned in commit 449a705f
-
mentioned in commit 2ef2d25c
-
mentioned in commit ad6a82a4
Please register or sign in to comment