usbhid: call usb_fixup_endpoint after mangling intervals
authorJonathan Bell <jonathan@raspberrypi.org>
Tue, 11 Jun 2019 10:42:03 +0000 (11:42 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:00 +0000 (19:13 +0000)
Lets the mousepoll override mechanism work with xhci.

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

index 1134d54..3d5d82f 100644 (file)
@@ -1128,6 +1128,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)) {