mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +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
popcornmix
parent
ae0dca4fa0
commit
c2c89c1a28
@@ -1118,6 +1118,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)) {
|
||||
|
||||
Reference in New Issue
Block a user