From: gregkh@linuxfoundation.org (Greg KH)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] usb: chipidea: cleanup dma_pool if udc_start() fails
Date: Tue, 26 Jun 2012 14:44:16 -0700 [thread overview]
Message-ID: <20120626214416.GB4878@kroah.com> (raw)
In-Reply-To: <4FE82B67.8010601@pengutronix.de>
On Mon, Jun 25, 2012 at 11:12:07AM +0200, Marc Kleine-Budde wrote:
> On 06/25/2012 11:09 AM, Marc Kleine-Budde wrote:
> > If udc_start() fails the qh_pool dma-pool cannot be closed because
> > it's still in use. This patch factors out the dma_pool_free() loop
> > into destroy_eps() and calls it in the error path of udc_start(),
> > too.
> >
> > Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
> > ---
>
> This patch applies on top of Richard's just published imx-chipindea
> tree. (https://github.com/riczhao/kernel-imx/commits/topics/usb-driver)
As that tree is still changing, is someone going to pick this up and add
it to that tree?
thanks,
greg k-h
next prev parent reply other threads:[~2012-06-26 21:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-25 9:09 [PATCH] usb: chipidea: cleanup dma_pool if udc_start() fails Marc Kleine-Budde
2012-06-25 9:12 ` Marc Kleine-Budde
2012-06-26 21:44 ` Greg KH [this message]
2012-06-27 11:37 ` Richard Zhao
2012-06-27 11:41 ` Marc Kleine-Budde
-- strict thread matches above, loose matches on Subject: below --
2012-08-28 10:31 Marc Kleine-Budde
2012-08-28 10:46 ` Richard Zhao
2012-08-28 10:52 ` Marc Kleine-Budde
2012-08-28 11:42 ` Richard Zhao
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=20120626214416.GB4878@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.