Re: [PATCH/RESEND v10 2/7] usb: Configure endpoint according togadget speed.
From: Felipe Balbi
Date: Wed May 18 2011 - 06:08:45 EST
Hi,
On Tue, May 17, 2011 at 04:03:16PM +0300, Tatyana Brokhman wrote:
> Add config_ep_by_speed() to configure the endpoint according to the gadget
> diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
> index 5c4c30c..7d1188a 100644
> --- a/include/linux/usb/gadget.h
> +++ b/include/linux/usb/gadget.h
> @@ -132,6 +132,8 @@ struct usb_ep_ops {
> * value can sometimes be reduced (hardware allowing), according to
> * the endpoint descriptor used to configure the endpoint.
> * @driver_data:for use by the gadget driver.
> + * @bEndpointAddress: used to identify the endpoint when finding
we only use CaMelCaSe when strictly necessary (like on the structures
defined by the specification) here you could call this field 'address'.
--
balbi
Attachment:
signature.asc
Description: Digital signature