From fb2ea55232b4bdc422bfe31f31ada999b43a3d0a Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 11 Jun 2019 11:42:03 +0100 Subject: [PATCH] usbhid: call usb_fixup_endpoint after mangling intervals raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Lets the mousepoll override mechanism work with xhci. Signed-off-by: Jonathan Bell Signed-off-by: Fang Yafen Signed-off-by: Zheng Zengkai --- drivers/hid/usbhid/hid-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c index 1134d543e5d6..3d5d82f7176f 100644 --- a/drivers/hid/usbhid/hid-core.c +++ b/drivers/hid/usbhid/hid-core.c @@ -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)) { -- GitLab