On Thu, Sep 27, 2012 at 10:30:14AM +0200, 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.
> 
> Cc: stable <[email protected]>
> Reviewed-by: Richard Zhao <[email protected]>
> Signed-off-by: Marc Kleine-Budde <[email protected]>
> Signed-off-by: Alexander Shishkin <[email protected]>
> Signed-off-by: Greg Kroah-Hartman <[email protected]>
> [mkl: backport to v3.5]
> Signed-off-by: Marc Kleine-Budde <[email protected]>
> ---
> Hello,
> 
> this is a backport of:
> ad6b1b97fe8504957d017cd6e4168cac8903d3f3 usb: chipidea: cleanup dma_pool if 
> udc_start() fails
> to the v3.5 stable tree.

Applied, thanks.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to