Re: [PATCH V7 07/10] USB/ppc4xx: Add Synopsys DWC OTG PCD function

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

 



On Tue, 18 Jan 2011 tmarri@xxxxxxx wrote:

> From: Tirumala Marri <tmarri@xxxxxxx>
> 
> The PCD is responsible for translating requests from the gadget driver
> to appropriate actions on the DWC OTG controller.
> 
> Signed-off-by: Tirumala R Marri <tmarri@xxxxxxx>
> Signed-off-by: Fushen Chen <fchen@xxxxxxx>
> Signed-off-by: Mark Miesfeld <mmiesfeld@xxxxxxx>
> ---
>  drivers/usb/dwc_otg/dwc_otg_pcd.c | 1752 +++++++++++++++++++++++++++++++++++++
>  drivers/usb/dwc_otg/dwc_otg_pcd.h |  139 +++
>  2 files changed, 1891 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/usb/dwc_otg/dwc_otg_pcd.c b/drivers/usb/dwc_otg/dwc_otg_pcd.c
> new file mode 100644
> index 0000000..857dcee
> --- /dev/null
> +++ b/drivers/usb/dwc_otg/dwc_otg_pcd.c

...

> +static struct usb_ep_ops dwc_otg_pcd_ep_ops = {
> +	.enable = dwc_otg_pcd_ep_enable,
> +	.disable = dwc_otg_pcd_ep_disable,
> +	.alloc_request = dwc_otg_pcd_alloc_request,
> +	.free_request = dwc_otg_pcd_free_request,
> +	.queue = dwc_otg_pcd_ep_queue,
> +	.dequeue = dwc_otg_pcd_ep_dequeue,
> +	.set_halt = dwc_otg_pcd_ep_set_halt,
> +	.fifo_status = NULL,
> +	.fifo_flush = NULL,
> +};

This is missing a .set_wedge method.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux