mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Remove usb_fixup_endpoint
This commit is contained in:
parent
f0b52199db
commit
3e8a474f96
1 changed files with 0 additions and 28 deletions
|
@ -1,28 +0,0 @@
|
||||||
From 3d2b420a62e802fbb9233f96b82ada59343b2f0c Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jonathan Bell <jonathan@raspberrypi.org>
|
|
||||||
Date: Tue, 11 Jun 2019 11:42:03 +0100
|
|
||||||
Subject: [PATCH 0164/1002] 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(+)
|
|
||||||
|
|
||||||
diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c
|
|
||||||
index d98053530124..fb588ac24acc 100644
|
|
||||||
--- a/drivers/hid/usbhid/hid-core.c
|
|
||||||
+++ b/drivers/hid/usbhid/hid-core.c
|
|
||||||
@@ -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)) {
|
|
||||||
--
|
|
||||||
2.44.0
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue