Re: [PATCH] USB: gadget driver for LPC32xx

From: Alan Stern
Date: Mon Mar 19 2012 - 21:56:35 EST


On Mon, 19 Mar 2012, Roland Stigge wrote:

> This patch adds a USB gadget driver.
>
> Signed-off-by: Roland Stigge <stigge@xxxxxxxxx>

...

> +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

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