Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71387bd7 authored by Vojtech Pavlik's avatar Vojtech Pavlik Committed by Dmitry Torokhov
Browse files

Input: Fix a warning in hid-core.



Signed-off-by: default avatarVojtech Pavlik <vojtech@suse.cz>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 854561b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}