diff options
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/usbhid/hid-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c index 6383145b5840..832e469265ee 100644 --- a/drivers/hid/usbhid/hid-core.c +++ b/drivers/hid/usbhid/hid-core.c | |||
@@ -805,7 +805,7 @@ static int usbhid_start(struct hid_device *hid) | |||
805 | int interval; | 805 | int interval; |
806 | 806 | ||
807 | endpoint = &interface->endpoint[n].desc; | 807 | endpoint = &interface->endpoint[n].desc; |
808 | if ((endpoint->bmAttributes & 3) != 3) /* Not an interrupt endpoint */ | 808 | if (!usb_endpoint_xfer_int(endpoint)) |
809 | continue; | 809 | continue; |
810 | 810 | ||
811 | interval = endpoint->bInterval; | 811 | interval = endpoint->bInterval; |