[Armadeus-commitlog] SF.net SVN: armadeus:[1211] trunk/buildroot/target/device/armadeus/linux/ ker
Brought to you by:
sszy
|
From: <th...@us...> - 2009-04-10 09:58:44
|
Revision: 1211
http://armadeus.svn.sourceforge.net/armadeus/?rev=1211&view=rev
Author: thom25
Date: 2009-04-10 09:58:34 +0000 (Fri, 10 Apr 2009)
Log Message:
-----------
[LINUX] fix ticket 7 for USB_OTG port (usb device may be not recognized at startup)
Modified Paths:
--------------
trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.27.13/281-apf27-armadeus-add_apf27.c.patch
Modified: trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.27.13/281-apf27-armadeus-add_apf27.c.patch
===================================================================
--- trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.27.13/281-apf27-armadeus-add_apf27.c.patch 2009-04-08 14:10:23 UTC (rev 1210)
+++ trunk/buildroot/target/device/armadeus/linux/kernel-patches/2.6.27.13/281-apf27-armadeus-add_apf27.c.patch 2009-04-10 09:58:34 UTC (rev 1211)
@@ -5,7 +5,7 @@
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.27.13/arch/arm/mach-mx2/apf27.c 2009-04-08 15:48:50.000000000 +0200
-@@ -0,0 +1,1465 @@
+@@ -0,0 +1,1473 @@
+ /*
+ * apf27.c
+ *
@@ -798,6 +798,14 @@
+ }
+
+ if (on) {
++
++ /* force disconnection of the DM/DP signals. This
++ avoid powering the connected device through these lines */
++ ulpi_set(RESET, ISP1504_FCNCTL, view);
++ mdelay(10); /*wait until the supply is really down*/
++ ulpi_clear(RESET, ISP1504_FCNCTL, view);
++ mdelay(1);
++
+ ret = ulpi_set(DRV_VBUS_EXT | /* enable external Vbus */
+ DRV_VBUS | /* enable internal Vbus */
+ USE_EXT_VBUS_IND | /* use external indicator */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|