Re: [PATCH] USB: fix deadlock in HCD code

From: David Vrabel
Date: Wed May 21 2008 - 11:28:16 EST


Alan Stern wrote:
>
> The functions you are worried about (usb_hcd_link_urb_to_ep and
> usb_hcd_unlink_urb_from_ep) are documented as requiring that interrupts
> be disabled by their callers. This patch isn't needed.

This requirement is the only reason the whci-hcd driver disables
interrupts. Removing this requirement would reduce the time that
interrupts are disabled in the whci-hcd driver.

David
--
David Vrabel, Senior Software Engineer, Drivers
CSR, Churchill House, Cambridge Business Park, Tel: +44 (0)1223 692562
Cowley Road, Cambridge, CB4 0WZ http://www.csr.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/