]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: pxa: magician: Fix wrongly enabled USB host ports
authorPetr Cvek <petr.cvek@tul.cz>
Mon, 28 Sep 2015 21:38:03 +0000 (23:38 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 14 Oct 2015 21:06:58 +0000 (23:06 +0200)
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>
arch/arm/mach-pxa/magician.c

index 51d0ff4524782f58c49e28a47b1bb478e898f57e..482f91e1e8dc014c9be73cdb34b3901dbd6cd8d8 100644 (file)
@@ -702,8 +702,10 @@ static struct pxamci_platform_data magician_mci_info = {
 
 static struct pxaohci_platform_data magician_ohci_info = {
        .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_on_delay = 100,
 };
 
 /*