[RFC PATCH v1 4/6] USB: EHCI: don't release ehci->lock if URB giveback in tasklet context

Alan Stern stern at rowland.harvard.edu
Tue Jun 18 12:43:52 EDT 2013


On Tue, 18 Jun 2013, Ming Lei wrote:

> If HCD_BH is set for HC driver's flags, URB giveback will be
> done in tasklet context instead of interrupt context, so the
> ehci->lock needn't to be released any more before calling
> usb_hcd_giveback_urb().

It is premature to do this now.  This should be part of the 6/6 patch, 
when it won't be necessary to test hcd_giveback_urb_in_bh().

Alan Stern




More information about the linux-arm-kernel mailing list