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, 19 Feb 2024 11:32:53 +0000 (11:32 +0000)
Lets the mousepoll override mechanism work with xhci.

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

index d980535..fb588ac 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)) {