mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] usb: core: return -EAGAIN on usb_* functions reentrance
@ 2015-10-14 10:15 Peter Mamonov
  2015-10-14 10:15 ` [PATCH 1/2] input: usb_kbd: skip poll on -EAGAIN error Peter Mamonov
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Peter Mamonov @ 2015-10-14 10:15 UTC (permalink / raw)
  To: barebox

The second patch of this patch set adds reentrance detection to 
the the following functions: usb_submit_int_msg, usb_control_msg and
usb_bulk_msg. These functions will return -EAGAIN if reentered. 
Other public usb_* functions call one of these three functions.
This patch enables one to use regular *delay() functions
throughout the ehci-hcd.c.

The first patch adds check for -EAGAIN return value to the usb keyboard
driver. The driver will skip keyboard poll upon getting this error value
from either usb_submit_int_msg() or usb_get_report() functions.

Peter Mamonov (2):
	input: usb_kbd: skip poll on -EAGAIN error
	usb: core: return -EAGAIN on usb_* functions reentrance

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-15 12:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-14 10:15 [PATCH 0/2] usb: core: return -EAGAIN on usb_* functions reentrance Peter Mamonov
2015-10-14 10:15 ` [PATCH 1/2] input: usb_kbd: skip poll on -EAGAIN error Peter Mamonov
2015-10-14 10:15 ` [PATCH 2/2] usb: core: return -EAGAIN on usb_* functions reentrance Peter Mamonov
2015-10-14 14:09 ` [PATCH 0/2] " Sascha Hauer
2015-10-15 12:38   ` Peter Mamonov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox