usbhid: call usb_fixup_endpoint after mangling intervals
authorJonathan Bell <jonathan@raspberrypi.org>
Tue, 11 Jun 2019 10:42:03 +0000 (11:42 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:03:55 +0000 (16:03 +0000)
Lets the mousepoll override mechanism work with xhci.

Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
drivers/hid/usbhid/hid-core.c

index 8a9d821..3541229 100644 (file)
@@ -1126,6 +1126,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)) {