aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/input/hid-core.c
diff options
context:
space:
mode:
authorVojtech Pavlik <vojtech@suse.cz>2005-05-29 03:28:14 -0400
committerDmitry Torokhov <dtor_core@ameritech.net>2005-05-29 03:28:14 -0400
commit71387bd77f662a83b18ff8de676e9d9531c58894 (patch)
treebabe819ab7ef0eb56a48e8a3fb33072cdfb8b8ed /drivers/usb/input/hid-core.c
parent854561b019285acf6e98ca9288fef0d034476fec (diff)
Input: Fix a warning in hid-core.
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/usb/input/hid-core.c')
-rw-r--r--drivers/usb/input/hid-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
index cd8d221395e2..6bf39656adc7 100644
--- a/drivers/usb/input/hid-core.c
+++ b/drivers/usb/input/hid-core.c
@@ -1235,7 +1235,7 @@ int hid_wait_io(struct hid_device *hid)
1235 1235
1236static int hid_set_idle(struct usb_device *dev, int ifnum, int report, int idle) 1236static int hid_set_idle(struct usb_device *dev, int ifnum, int report, int idle)
1237{ 1237{
1238 usb_control_msg(dev, usb_sndctrlpipe(dev, 0), 1238 return usb_control_msg(dev, usb_sndctrlpipe(dev, 0),
1239 HID_REQ_SET_IDLE, USB_TYPE_CLASS | USB_RECIP_INTERFACE, (idle << 8) | report, 1239 HID_REQ_SET_IDLE, USB_TYPE_CLASS | USB_RECIP_INTERFACE, (idle << 8) | report,
1240 ifnum, NULL, 0, USB_CTRL_SET_TIMEOUT); 1240 ifnum, NULL, 0, USB_CTRL_SET_TIMEOUT);
1241} 1241}