Thread (2 messages) 2 messages, 2 authors, 2012-12-03
DORMANTno replies

[PATCH] [ARM] pxa/spitz: Disable usb port 1 and 3

From: Eric Miao <hidden>
Date: 2012-12-03 02:13:38

The port could be not routed to external, but used internally. I cannot
remember the details of spitz as there isn't too much public detail around,
just want to make sure no other devices are connected to port 1 and 3.

On Fri, Nov 30, 2012 at 7:41 AM,  [off-list ref] wrote:
quoted hunk ↗ jump to hunk
From: Marko Katic <dromede.gmail.com>

Spitz devices only have a single mini usb a/b plug
connected to usb port 2.
This patch disables ports 1 and 3 since they are not used.

Signed-off-by: Marko Katic <redacted>
---
 arch/arm/mach-pxa/spitz.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
index 0f92264..4443540 100644
--- a/arch/arm/mach-pxa/spitz.c
+++ b/arch/arm/mach-pxa/spitz.c
@@ -651,7 +651,7 @@ static struct pxaohci_platform_data spitz_ohci_platform_data = {
        .port_mode      = PMM_NPS_MODE,
        .init           = spitz_ohci_init,
        .exit           = spitz_ohci_exit,
-       .flags          = ENABLE_PORT_ALL | NO_OC_PROTECTION,
+       .flags          = ENABLE_PORT2 | NO_OC_PROTECTION,
        .power_budget   = 150,
 };

--
1.7.10.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help