diff options
| author | Maxim Devaev <mdevaev@gmail.com> | 2021-07-27 21:58:00 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-12 13:19:42 +0200 |
| commit | 8b575d820ddac2e959acc9575c55a5d5272fbcee (patch) | |
| tree | bf753c3fd4a7093f8c7b3d01902f230dc33a2c92 /include/linux | |
| parent | 1071804cc89e984e0d2c966e890fd37f77a8e951 (diff) | |
usb: gadget: f_hid: idle uses the highest byte for duration
commit fa20bada3f934e3b3e4af4c77e5b518cd5a282e5 upstream.
SET_IDLE value must be shifted 8 bits to the right to get duration.
This confirmed by USBCV test.
Fixes: afcff6dc690e ("usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Maxim Devaev <mdevaev@gmail.com>
Link: https://lore.kernel.org/r/20210727185800.43796-1-mdevaev@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
