Re: [PATCH/RESEND v10 2/7] usb: Configure endpoint according to gadget speed.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google