linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: dromede@gmail.com (dromede at gmail.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] [ARM] pxa/spitz: Disable usb port 1 and 3
Date: Fri, 30 Nov 2012 00:41:21 +0100	[thread overview]
Message-ID: <1354232481-32168-1-git-send-email-dromede@gmail.com> (raw)

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 <dromede@gmail.com>
---
 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

             reply	other threads:[~2012-11-29 23:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29 23:41 dromede at gmail.com [this message]
2012-12-03  2:13 ` [PATCH] [ARM] pxa/spitz: Disable usb port 1 and 3 Eric Miao
     [not found]   ` <CAHod+GfAgcqE8Zt6hajLfb6pkReZkn-5KgOp4N9bMWuKD2vRgQ@mail.gmail.com>
2012-12-04 21:20     ` Marko Katić

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1354232481-32168-1-git-send-email-dromede@gmail.com \
    --to=dromede@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).