From: Tatyana Brokhman Date: Tue, 28 Jun 2011 13:33:48 +0000 (+0300) Subject: usb: gadget: add usb_endpoint_descriptor to struct usb_ep X-Git-Tag: v3.1-rc1~234^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72c973dd2b01b212a159faa330a2bc641a3ed809;p=pandora-kernel.git usb: gadget: add usb_endpoint_descriptor to struct usb_ep 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. Signed-off-by: Tatyana Brokhman Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed