dect
/
linux-2.6
Archived
13
0
Fork 0

Input: Fix a warning in hid-core.

Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
Vojtech Pavlik 2005-05-29 02:28:14 -05:00 committed by Dmitry Torokhov
parent 854561b019
commit 71387bd77f
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{
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,
ifnum, NULL, 0, USB_CTRL_SET_TIMEOUT);
}