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:
Jonathan Bell
2019-06-11 11:42:03 +01:00
committed by popcornmix
parent ae0dca4fa0
commit c2c89c1a28

View File

@@ -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)) {