Commit b5aa35de authored by Jonathan Bell's avatar Jonathan Bell Committed by popcornmix
Browse files

usbhid: call usb_fixup_endpoint after mangling intervals



Lets the mousepoll override mechanism work with xhci.

Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.org>
parent b0535f57
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)) {