wifipineapple-openwrt/target/linux/coldfire/patches/030-m5445x_usb_add_dualspee...

22 lines
686 B
Diff

From 5fb2a68befbec97dba2264b2834487c72f47095d Mon Sep 17 00:00:00 2001
From: Bruce Schmid <duck@freescale.com>
Date: Wed, 5 Dec 2007 14:43:19 -0700
Subject: [PATCH] USB: add is_dualspeed.
LTIBName: m5445x-usb-add-dualspeed
Signed-off-by: Duck <duck@freescale.com>
---
drivers/usb/gadget/mcf5445x_udc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
--- a/drivers/usb/gadget/mcf5445x_udc.c
+++ b/drivers/usb/gadget/mcf5445x_udc.c
@@ -2538,6 +2538,7 @@ static int __init fsl_udc_probe(struct p
* set the fsl_udc->gadget.xxx
*/
udc->gadget.ops = &fsl_gadget_ops;
+ udc->gadget.is_dualspeed = 1;
/* gadget.ep0 is a pointer */
udc->gadget.ep0 = &udc->eps[0].ep;