Browse Source

ARM: pxa: magician: Fix wrongly enabled USB host ports

USB host ports on the HTC Magician are wrongly enabled. Port 1 is for
bluetooth and port 2 is for OTG (mux in the charger connector).

Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Petr Cvek 10 years ago
parent
commit
2eb7414a9f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      arch/arm/mach-pxa/magician.c

+ 3 - 1
arch/arm/mach-pxa/magician.c

@@ -702,8 +702,10 @@ static struct pxamci_platform_data magician_mci_info = {
 
 
 static struct pxaohci_platform_data magician_ohci_info = {
 static struct pxaohci_platform_data magician_ohci_info = {
 	.port_mode	= PMM_PERPORT_MODE,
 	.port_mode	= PMM_PERPORT_MODE,
-	.flags		= ENABLE_PORT1 | ENABLE_PORT3 | POWER_CONTROL_LOW,
+	/* port1: CSR Bluetooth, port2: OTG with UDC */
+	.flags		= ENABLE_PORT1 | ENABLE_PORT2 | POWER_CONTROL_LOW,
 	.power_budget	= 0,
 	.power_budget	= 0,
+	.power_on_delay = 100,
 };
 };
 
 
 /*
 /*