projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NVMe: Passthrough IOCTL for IO commands
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hid
/
hid-kye.c
diff --git
a/drivers/hid/hid-kye.c
b/drivers/hid/hid-kye.c
index e7769636759129f2540c5c670f1cc332180191fe..b92bf01a1ae8122f486ea333288558f082162f5d 100644
(file)
--- a/
drivers/hid/hid-kye.c
+++ b/
drivers/hid/hid-kye.c
@@
-300,7
+300,7
@@
static __u8 *kye_report_fixup(struct hid_device *hdev, __u8 *rdesc,
* - change the button usage range to 4-7 for the extra
* buttons
*/
- if (*rsize >= 7
4
&&
+ if (*rsize >= 7
5
&&
rdesc[61] == 0x05 && rdesc[62] == 0x08 &&
rdesc[63] == 0x19 && rdesc[64] == 0x08 &&
rdesc[65] == 0x29 && rdesc[66] == 0x0f &&