提交 fb2ea552 编写于 作者: J Jonathan Bell 提交者: Zheng Zengkai

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: NJonathan Bell <jonathan@raspberrypi.org>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 4dd959d3
...@@ -1128,6 +1128,7 @@ static int usbhid_start(struct hid_device *hid) ...@@ -1128,6 +1128,7 @@ static int usbhid_start(struct hid_device *hid)
interval = hid_kbpoll_interval; interval = hid_kbpoll_interval;
break; break;
} }
usb_fixup_endpoint(dev, endpoint->bEndpointAddress, interval);
ret = -ENOMEM; ret = -ENOMEM;
if (usb_endpoint_dir_in(endpoint)) { if (usb_endpoint_dir_in(endpoint)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册