From: Petr Cvek Date: Mon, 28 Sep 2015 21:38:03 +0000 (+0200) Subject: ARM: pxa: magician: Fix wrongly enabled USB host ports X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2eb7414a9f793ab1a97b53fbef67546a00815fd4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Robert Jarzmik --- diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index 51d0ff452478..482f91e1e8dc 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/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 = { .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, }; /*