[PATCH] USB: gadget driver for LPC32xx

Alan Stern stern at rowland.harvard.edu
Mon Mar 19 21:56:35 EDT 2012


On Mon, 19 Mar 2012, Roland Stigge wrote:

> This patch adds a USB gadget driver.
> 
> Signed-off-by: Roland Stigge <stigge at antcom.de>

...

> +static const struct usb_ep_ops lpc32xx_ep_ops = {
> +	.enable		= lpc32xx_ep_enable,
> +	.disable	= lpc32xx_ep_disable,
> +	.alloc_request	= lpc32xx_ep_alloc_request,
> +	.free_request	= lpc32xx_ep_free_request,
> +	.queue		= lpc32xx_ep_queue,
> +	.dequeue	= lpc32xx_ep_dequeue,
> +	.set_halt	= lpc32xx_ep_set_halt,
> +};

You have not implemented the set_wedge method, which is needed for the 
file-storage gadgets.

Alan Stern




More information about the linux-arm-kernel mailing list