From: Kevin Hilman <khilman@mvista.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: MUSB: peripheral compile fix
Date: Fri, 17 Aug 2007 09:12:52 -0700 [thread overview]
Message-ID: <20070817161252.274402322@mvista.com> (raw)
Move error detection for "Stopping host session because of babble"
inside host-ifdef since it doesn't apply (or compile) for gadget.
Signed-off-by: Kevin Hilman <khilman@mvista.com>
---
drivers/usb/musb/plat_uds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: dev/drivers/usb/musb/plat_uds.c
===================================================================
--- dev.orig/drivers/usb/musb/plat_uds.c
+++ dev/drivers/usb/musb/plat_uds.c
@@ -598,7 +598,6 @@ static irqreturn_t musb_stage0_irq(struc
DBG(1, "CONNECT (%s) devctl %02x\n",
otg_state_string(musb), devctl);
}
-#endif /* CONFIG_USB_MUSB_HDRC_HCD */
/* mentor saves a bit: bus reset and babble share the same irq.
* only host sees babble; only peripheral sees bus reset.
@@ -627,6 +626,7 @@ static irqreturn_t musb_stage0_irq(struc
handled = IRQ_HANDLED;
}
+#endif /* CONFIG_USB_MUSB_HDRC_HCD */
return handled;
}
--
next reply other threads:[~2007-08-17 16:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-17 16:12 Kevin Hilman [this message]
2007-08-17 16:38 ` [PATCH] ARM: OMAP: MUSB: peripheral compile fix Kevin Hilman
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=20070817161252.274402322@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