mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Peter Mamonov <pmamonov@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH 0/2] usb: core: return -EAGAIN on usb_* functions reentrance
Date: Wed, 14 Oct 2015 13:15:47 +0300	[thread overview]
Message-ID: <1444817749-20766-1-git-send-email-pmamonov@gmail.com> (raw)

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

             reply	other threads:[~2015-10-14 10:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14 10:15 Peter Mamonov [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444817749-20766-1-git-send-email-pmamonov@gmail.com \
    --to=pmamonov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox