projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
854561b
)
Input: Fix a warning in hid-core.
author
Vojtech Pavlik
<vojtech@suse.cz>
Sun, 29 May 2005 07:28:14 +0000
(
02:28
-0500)
committer
Dmitry Torokhov
<dtor_core@ameritech.net>
Sun, 29 May 2005 07:28:14 +0000
(
02:28
-0500)
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/usb/input/hid-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/input/hid-core.c
b/drivers/usb/input/hid-core.c
index cd8d221395e26ba9b88db7a5d30e5aa199515989..6bf39656adc7a1bdb7ce23318a2500912b43127b 100644
(file)
--- 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)
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);
}