提交 71387bd7 编写于 作者: V Vojtech Pavlik 提交者: Dmitry Torokhov

Input: Fix a warning in hid-core.

Signed-off-by: NVojtech Pavlik <vojtech@suse.cz>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 854561b0
...@@ -1235,7 +1235,7 @@ int hid_wait_io(struct hid_device *hid) ...@@ -1235,7 +1235,7 @@ int hid_wait_io(struct hid_device *hid)
static int hid_set_idle(struct usb_device *dev, int ifnum, int report, int idle) static int hid_set_idle(struct usb_device *dev, int ifnum, int report, int idle)
{ {
usb_control_msg(dev, usb_sndctrlpipe(dev, 0), return usb_control_msg(dev, usb_sndctrlpipe(dev, 0),
HID_REQ_SET_IDLE, USB_TYPE_CLASS | USB_RECIP_INTERFACE, (idle << 8) | report, HID_REQ_SET_IDLE, USB_TYPE_CLASS | USB_RECIP_INTERFACE, (idle << 8) | report,
ifnum, NULL, 0, USB_CTRL_SET_TIMEOUT); ifnum, NULL, 0, USB_CTRL_SET_TIMEOUT);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册