|
@@ -332,7 +332,8 @@ static inline void usb_kbd_poll_for_event(struct usb_device *dev)
|
|
/* We've consumed all queued int packets, create new */
|
|
/* We've consumed all queued int packets, create new */
|
|
destroy_int_queue(dev, data->intq);
|
|
destroy_int_queue(dev, data->intq);
|
|
data->intq = create_int_queue(dev, data->intpipe, 1,
|
|
data->intq = create_int_queue(dev, data->intpipe, 1,
|
|
- USB_KBD_BOOT_REPORT_SIZE, data->new);
|
|
|
|
|
|
+ USB_KBD_BOOT_REPORT_SIZE, data->new,
|
|
|
|
+ data->intinterval);
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
@@ -453,7 +454,8 @@ static int usb_kbd_probe(struct usb_device *dev, unsigned int ifnum)
|
|
debug("USB KBD: enable interrupt pipe...\n");
|
|
debug("USB KBD: enable interrupt pipe...\n");
|
|
#ifdef CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE
|
|
#ifdef CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE
|
|
data->intq = create_int_queue(dev, data->intpipe, 1,
|
|
data->intq = create_int_queue(dev, data->intpipe, 1,
|
|
- USB_KBD_BOOT_REPORT_SIZE, data->new);
|
|
|
|
|
|
+ USB_KBD_BOOT_REPORT_SIZE, data->new,
|
|
|
|
+ data->intinterval);
|
|
if (!data->intq) {
|
|
if (!data->intq) {
|
|
#else
|
|
#else
|
|
if (usb_submit_int_msg(dev, data->intpipe, data->new, data->intpktsize,
|
|
if (usb_submit_int_msg(dev, data->intpipe, data->new, data->intpktsize,
|