From: Kevin Hilman <khilman@mvista.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: MUSB: fix compile for non-OTG modes
Date: Thu, 16 Aug 2007 11:18:01 -0700 [thread overview]
Message-ID: <20070816181801.798599625@mvista.com> (raw)
Signed-off-by: Kevin Hilman <khilman@mvista.com>
---
drivers/usb/musb/plat_uds.c | 2 ++
1 file changed, 2 insertions(+)
Index: pristine/drivers/usb/musb/plat_uds.c
===================================================================
--- pristine.orig/drivers/usb/musb/plat_uds.c
+++ pristine/drivers/usb/musb/plat_uds.c
@@ -737,9 +737,11 @@ static irqreturn_t musb_stage2_irq(struc
handled = IRQ_HANDLED;
switch (musb->xceiv.state) {
+#ifdef CONFIG_USB_MUSB_OTG
case OTG_STATE_A_PERIPHERAL:
musb_hnp_stop(musb);
break;
+#endif
case OTG_STATE_B_PERIPHERAL:
musb_g_suspend(musb);
musb->is_active = is_otg_enabled(musb)
--
next reply other threads:[~2007-08-16 18:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-16 18:18 Kevin Hilman [this message]
2007-08-17 7:18 ` [PATCH] ARM: OMAP: MUSB: fix compile for non-OTG modes Tony Lindgren
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=20070816181801.798599625@mvista.com \
--to=khilman@mvista.com \
--cc=linux-omap-open-source@linux.omap.com \
/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