Skip to content

Commit

Permalink
Input: Fix a warning in hid-core.
Browse files Browse the repository at this point in the history
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Vojtech Pavlik authored and Dmitry Torokhov committed May 29, 2005
1 parent 854561b commit 71387bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/input/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 71387bd

Please sign in to comment.