summaryrefslogtreecommitdiffstats
path: root/meta/packages/linux/linux-gta01/udc-nomodule-misccr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/linux/linux-gta01/udc-nomodule-misccr.patch')
-rw-r--r--meta/packages/linux/linux-gta01/udc-nomodule-misccr.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/packages/linux/linux-gta01/udc-nomodule-misccr.patch b/meta/packages/linux/linux-gta01/udc-nomodule-misccr.patch
deleted file mode 100644
index 0f84b56c2a..0000000000
--- a/meta/packages/linux/linux-gta01/udc-nomodule-misccr.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1Index: linux-2.6.17.14-fic1/drivers/usb/gadget/s3c2410_udc.c
2===================================================================
3--- linux-2.6.17.14-fic1.orig/drivers/usb/gadget/s3c2410_udc.c 2006-11-03 01:22:14.000000000 +0100
4+++ linux-2.6.17.14-fic1/drivers/usb/gadget/s3c2410_udc.c 2006-11-03 12:41:52.000000000 +0100
5@@ -1492,7 +1492,7 @@
6 return -ENODEV;
7 if (udc->driver)
8 return -EBUSY;
9- if (!driver->bind || !driver->unbind || !driver->setup
10+ if (!driver->bind || !driver->setup
11 || driver->speed == USB_SPEED_UNKNOWN)
12 return -EINVAL;
13
14@@ -1700,6 +1700,8 @@
15 }
16 dprintk(DEBUG_VERBOSE, "%s: got irq %i\n", gadget_name, IRQ_USBD);
17
18+ s3c2410_modify_misccr(S3C2410_MISCCR_USBHOST|S3C2410_MISCCR_USBSUSPND0|S3C2410_MISCCR_USBSUSPND1, 0);
19+
20 #ifdef ENABLE_SYSFS
21 /* create device files */
22 device_create_file(&pdev->dev, &dev_attr_regs);