kernel: bump 4.19 to 4.19.123
[openwrt/staging/stintel.git] / target / linux / bcm27xx / patches-4.19 / 950-0574-usbhid-call-usb_fixup_endpoint-after-mangling-interv.patch
1 From f2c46d48d1aa0f7b87b179434162eac6624122f7 Mon Sep 17 00:00:00 2001
2 From: Jonathan Bell <jonathan@raspberrypi.org>
3 Date: Tue, 11 Jun 2019 11:42:03 +0100
4 Subject: [PATCH] usbhid: call usb_fixup_endpoint after mangling
5 intervals
6
7 Lets the mousepoll override mechanism work with xhci.
8
9 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
10 ---
11 drivers/hid/usbhid/hid-core.c | 1 +
12 1 file changed, 1 insertion(+)
13
14 --- a/drivers/hid/usbhid/hid-core.c
15 +++ b/drivers/hid/usbhid/hid-core.c
16 @@ -1131,6 +1131,7 @@ static int usbhid_start(struct hid_devic
17 interval = hid_kbpoll_interval;
18 break;
19 }
20 + usb_fixup_endpoint(dev, endpoint->bEndpointAddress, interval);
21
22 ret = -ENOMEM;
23 if (usb_endpoint_dir_in(endpoint)) {