[RFC PATCH v1 1/6] USB: HCD: support giveback of URB in tasklet context

Ming Lei ming.lei at canonical.com
Fri Jun 21 06:09:22 EDT 2013


On Fri, Jun 21, 2013 at 5:43 PM, Ming Lei <ming.lei at canonical.com> wrote:
> On Fri, Jun 21, 2013 at 5:20 PM, Oliver Neukum <oneukum at suse.de> wrote:
>
> Drivers may let usbcore to do that by not setting driver->soft_unbind.
>
> I will fix the problem in v2, one solution I thought of is to flush
> the endpoint's URBs which have been added to tasklet list
> at the end of usb_hcd_flush_endpoint(). Any comments?

Or we can wait for completion of all URBs in the endpoint at the end
of usb_hcd_flush_endpoint(), I think this approach should be easier.

Thanks,
--
Ming Lei



More information about the linux-arm-kernel mailing list