From: Sascha Hauer <s.hauer@pengutronix.de>
To: Peter Mamonov <pmamonov@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 0/2] usb: core: return -EAGAIN on usb_* functions reentrance
Date: Wed, 14 Oct 2015 16:09:08 +0200 [thread overview]
Message-ID: <20151014140908.GS7858@pengutronix.de> (raw)
In-Reply-To: <1444817749-20766-1-git-send-email-pmamonov@gmail.com>
Hi Peter,
On Wed, Oct 14, 2015 at 01:15:47PM +0300, Peter Mamonov wrote:
> 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
Applied on -next. I believe we no longer need mdelay_non_interruptible
in the ehci-hcd driver, right? Also we don't have to detect re-entrancy
in the ehci driver anymore. I have applied some patches removing that
to -next. Could you check the result?
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2015-10-14 14:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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
2015-10-14 10:15 ` [PATCH 2/2] usb: core: return -EAGAIN on usb_* functions reentrance Peter Mamonov
2015-10-14 14:09 ` Sascha Hauer [this message]
2015-10-15 12:38 ` [PATCH 0/2] " 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=20151014140908.GS7858@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=pmamonov@gmail.com \
/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