[U-Boot] [PATCH 7/8] usb: kbd: use usb_submit_int_msg_nonblock for polling
Michal Suchanek
msuchanek at suse.de
Mon Jul 1 15:56:44 UTC 2019
Signed-off-by: Michal Suchanek <msuchanek at suse.de>
---
common/usb_kbd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/usb_kbd.c b/common/usb_kbd.c
index 948f9fd68490..23a56f7cb305 100644
--- a/common/usb_kbd.c
+++ b/common/usb_kbd.c
@@ -339,7 +339,7 @@ static inline void usb_kbd_poll_for_event(struct usb_device *dev)
struct usb_kbd_pdata *data = dev->privptr;
/* Submit a interrupt transfer request */
- if (!usb_submit_int_msg(dev, data->intpipe, &data->new[0],
+ if (!usb_submit_int_msg_nonblock(dev, data->intpipe, &data->new[0],
data->intpktsize, data->intinterval))
usb_kbd_irq_worker(dev);
#elif defined(CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP) || \
--
2.21.0
More information about the U-Boot
mailing list