1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/root/target/linux/bcm27xx/patches-5.15/950-0155-usbhid-call-usb_fixup_endpoint-after-mangling-interv.patch

24 lines
739 B
Diff
Raw Normal View History

2022-04-22 15:00:47 +00:00
From a4e552dc907c2aae8024be001cb91aac6efaa9b2 Mon Sep 17 00:00:00 2001
2021-11-24 17:32:01 +00:00
From: Jonathan Bell <jonathan@raspberrypi.org>
Date: Tue, 11 Jun 2019 11:42:03 +0100
2022-04-22 15:00:47 +00:00
Subject: [PATCH 155/828] usbhid: call usb_fixup_endpoint after mangling
2021-11-24 17:32:01 +00:00
intervals
Lets the mousepoll override mechanism work with xhci.
Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
---
drivers/hid/usbhid/hid-core.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/hid/usbhid/hid-core.c
+++ b/drivers/hid/usbhid/hid-core.c
2022-04-22 15:00:47 +00:00
@@ -1126,6 +1126,7 @@ static int usbhid_start(struct hid_devic
2021-11-24 17:32:01 +00:00
interval = hid_kbpoll_interval;
break;
}
+ usb_fixup_endpoint(dev, endpoint->bEndpointAddress, interval);
ret = -ENOMEM;
if (usb_endpoint_dir_in(endpoint)) {