[PATCH] usb: chipidea: cleanup dma_pool if udc_start() fails
Richard Zhao
linuxzsc at gmail.com
Wed Jun 27 07:37:52 EDT 2012
On Wed, Jun 27, 2012 at 5:44 AM, Greg KH <gregkh at linuxfoundation.org> wrote:
> 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 at 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?
It's my tree.
Marc, If you agree, I can queue it and send it out when my patch get upstreamed.
Thanks
Richard
>
> thanks,
>
> greg k-h
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the linux-arm-kernel
mailing list