public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH] musb: fix "musb_hdrc: invalid ep 8" messages
@ 2008-04-10 17:45 Paul Walmsley
  2008-04-10 19:21 ` Felipe Balbi
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Walmsley @ 2008-04-10 17:45 UTC (permalink / raw)
  To: linux-omap; +Cc: david-b, me


This patch fixes the "musb_hdrc: invalid ep 8" messages that show up on
boot with current linux-omap git head on OMAP3430SDP ES2.1.  I guess that
the musb driver comes up in FIFO mode 4 with 16 endpoints defined, but the 
driver is limited to 8 endpoints by macros in hdrc_cnf.h.

Anyway, I don't know much about MUSB.  David or Felipe, maybe you could 
take a quick look at this patch?


Signed-off-by: Paul Walmsley <paul@pwsan.com>

---
 include/asm-arm/arch-omap/hdrc_cnf.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: linux-omap/include/asm-arm/arch-omap/hdrc_cnf.h
===================================================================
--- linux-omap.orig/include/asm-arm/arch-omap/hdrc_cnf.h	2007-08-27 02:19:07.000000000 -0600
+++ linux-omap/include/asm-arm/arch-omap/hdrc_cnf.h	2008-04-01 11:10:34.000000000 -0600
@@ -14,11 +14,11 @@
 
 /* ** Number of Tx endpoints ** */
 /* Legal values are 1 - 16 (this value includes EP0) */
-#define MUSB_C_NUM_EPT 8
+#define MUSB_C_NUM_EPT 16
 
 /* ** Number of Rx endpoints ** */
 /* Legal values are 1 - 16 (this value includes EP0) */
-#define MUSB_C_NUM_EPR 8
+#define MUSB_C_NUM_EPR 16
 
 /* ** Endpoint 1 to 15 direction types ** */
 /* C_EP1_DEF is defined if either Tx endpoint 1 or Rx endpoint 1 are used */
@@ -163,7 +163,7 @@
  * Legal values are 2 - 16
  * This must be equal to the larger of C_NUM_EPT, C_NUM_EPR
  */
-#define MUSB_C_NUM_EPS 8
+#define MUSB_C_NUM_EPS 16
 
 /* C_EPMAX_BITS is equal to the largest endpoint FIFO word address bits */
 #define MUSB_C_EPMAX_BITS 12

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-11  4:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-10 17:45 [RFC PATCH] musb: fix "musb_hdrc: invalid ep 8" messages Paul Walmsley
2008-04-10 19:21 ` Felipe Balbi
2008-04-10 20:02   ` David Brownell
2008-04-11  4:34     ` Gadiyar, Anand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox