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 Dom Cobley
parent de234564be
commit 42cdaa43ad

View File

@@ -1130,6 +1130,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)) {