mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
usbhid: call usb_fixup_endpoint after mangling intervals
Lets the mousepoll override mechanism work with xhci. Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
This commit is contained in:
committed by
Dom Cobley
parent
de234564be
commit
42cdaa43ad
@@ -1130,6 +1130,7 @@ static int usbhid_start(struct hid_device *hid)
|
|||||||
interval = hid_kbpoll_interval;
|
interval = hid_kbpoll_interval;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
usb_fixup_endpoint(dev, endpoint->bEndpointAddress, interval);
|
||||||
|
|
||||||
ret = -ENOMEM;
|
ret = -ENOMEM;
|
||||||
if (usb_endpoint_dir_in(endpoint)) {
|
if (usb_endpoint_dir_in(endpoint)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user