projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3aa08b
)
usbhid: call usb_fixup_endpoint after mangling intervals
author
Jonathan Bell
<jonathan@raspberrypi.org>
Tue, 11 Jun 2019 10:42:03 +0000
(11:42 +0100)
committer
Dom Cobley
<popcornmix@gmail.com>
Mon, 21 Mar 2022 16:03:55 +0000
(16:03 +0000)
Lets the mousepoll override mechanism work with xhci.
Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
drivers/hid/usbhid/hid-core.c
patch
|
blob
|
history
diff --git
a/drivers/hid/usbhid/hid-core.c
b/drivers/hid/usbhid/hid-core.c
index
8a9d821
..
3541229
100644
(file)
--- a/
drivers/hid/usbhid/hid-core.c
+++ b/
drivers/hid/usbhid/hid-core.c
@@
-1126,6
+1126,7
@@
static int usbhid_start(struct hid_device *hid)
interval = hid_kbpoll_interval;
break;
}
+ usb_fixup_endpoint(dev, endpoint->bEndpointAddress, interval);
ret = -ENOMEM;
if (usb_endpoint_dir_in(endpoint)) {