From: John Crispin <john@phrozen.org>
To: linux-mips@linux-mips.org
Subject: [PATCH][au1x00/mtx1] - usb power switch
Date: Fri, 03 Aug 2007 23:59:31 +0200 [thread overview]
Message-ID: <46B3A543.5020007@phrozen.org> (raw)
the gpio of the usb power switch for the mtx-1 is not pulled high due to
wrong #ifdef
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
--- linux-2.6.23.orig/arch/mips/au1000/mtx-1/board_setup.c 2007-07-29 18:57:35.000000000 +0200
+++ linux-2.6.23/arch/mips/au1000/mtx-1/board_setup.c 2007-07-29 18:59:48.000000000 +0200
@@ -54,7 +54,7 @@
void __init board_setup(void)
{
-#ifdef CONFIG_USB_OHCI
+#if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
// enable USB power switch
au_writel( au_readl(GPIO2_DIR) | 0x10, GPIO2_DIR );
au_writel( 0x100001, GPIO2_OUTPUT );
next reply other threads:[~2007-08-03 21:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-03 21:59 John Crispin [this message]
2007-08-04 13:58 ` [PATCH][au1x00/mtx1] - usb power switch Ralf Baechle
-- strict thread matches above, loose matches on Subject: below --
2007-07-31 7:56 John Crispin
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=46B3A543.5020007@phrozen.org \
--to=john@phrozen.org \
--cc=linux-mips@linux-mips.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