aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 5de931cf4cfb..2c12b04da111 100644
--- a/drivers/usb/input/hid-core.c
+++ b/drivers/usb/input/hid-core.c
@@ -1998,7 +1998,7 @@ static struct hid_device *usb_hid_configure(struct usb_interface *intf)
1998 if (hid->collection->usage == HID_GD_MOUSE && hid_mousepoll_interval > 0) 1998 if (hid->collection->usage == HID_GD_MOUSE && hid_mousepoll_interval > 0)
1999 interval = hid_mousepoll_interval; 1999 interval = hid_mousepoll_interval;
2000 2000
2001 if (endpoint->bEndpointAddress & USB_DIR_IN) { 2001 if (usb_endpoint_dir_in(endpoint)) {
2002 if (hid->urbin) 2002 if (hid->urbin)
2003 continue; 2003 continue;
2004 if (!(hid->urbin = usb_alloc_urb(0, GFP_KERNEL))) 2004 if (!(hid->urbin = usb_alloc_urb(0, GFP_KERNEL)))