mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-09-21 10:19:56 +00:00
Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.186 Manually rebased patch: realtek/patches-5.15/800-net-mdio-support-hardware-assisted-indirect-access.patch[1-2] All other patches are automatically refreshed. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.186&id=694456462ed63a06adbb0b7f2396a2eb5cc153c0 [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.186&id=014ad9210373d2104f6ef10e6bb999a7a0a4c50e Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/19250 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
24 lines
731 B
Diff
24 lines
731 B
Diff
From 65628c99c350930ece2e317655d2a7ffce924e2b Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Bell <jonathan@raspberrypi.org>
|
|
Date: Tue, 11 Jun 2019 11:42:03 +0100
|
|
Subject: [PATCH] usbhid: call usb_fixup_endpoint after mangling
|
|
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
|
|
@@ -1129,6 +1129,7 @@ static int usbhid_start(struct hid_devic
|
|
interval = hid_kbpoll_interval;
|
|
break;
|
|
}
|
|
+ usb_fixup_endpoint(dev, endpoint->bEndpointAddress, interval);
|
|
|
|
ret = -ENOMEM;
|
|
if (usb_endpoint_dir_in(endpoint)) {
|