Re: [PATCH 2/5 v6] usb: Add usb_endpoint_descriptor to be part ofthe struct usb_ep

From: Felipe Balbi
Date: Fri Mar 25 2011 - 09:43:09 EST


On Wed, Mar 23, 2011 at 10:03:38AM +0200, Tatyana Brokhman wrote:
> Change usb_ep_enable() prototype to use endpoint descriptor from usb_ep.
> This optimization spares the FDs from saving the endpoint chosen
> descriptor. This optimization is not full though. To fully exploit this
> change one needs to update all the UDCs as well since in the current
> implementation each of them saves the endpoint descriptor in it's
> internal (and extended) endpoint structure.

I'm not sure this is such a good patch. But I don't have strong
arguments against it either.

> Signed-off-by: Tatyana Brokhman <tlinder@xxxxxxxxxxxxxx>

missing tear line

--
balbi
--
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/