From: Tony Lindgren <tony@atomide.com>
To: linux-omap-open-source@linux.omap.com
Subject: musb_hdrc: Fix OPT A error "B-OPT Did not detect reset after connecting"
Date: Fri, 24 Aug 2007 06:49:11 -0700 [thread overview]
Message-ID: <20070824134911.GP30522@atomide.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 60 bytes --]
Hi all,
This seems to fix some random OPT failures.
Tony
[-- Attachment #2: musb-td.6.4-did-not-receive-reset.patch --]
[-- Type: text/x-diff, Size: 1024 bytes --]
From: Tony Lindgren <tony@atomide.com>
Subject: musb_hdrc: Fix OPT A error "B-OPT Did not detect reset after connecting"
Fix OPT A error "B-OPT Did not detect reset after connecting"
hub 1-0:1.0: hub_suspend
usb usb1: suspend fail, err -16
usb usb1: 'global' suspend -16
hub 1-0:1.0: activate --> -108
Signed-off-by: Tony Lindgren <tony@atomide.com>
Index: linux-selene/drivers/usb/musb/musb_core.c
===================================================================
--- linux-selene.orig/drivers/usb/musb/musb_core.c 2007-08-24 05:18:55.000000000 -0700
+++ linux-selene/drivers/usb/musb/musb_core.c 2007-08-24 06:29:37.000000000 -0700
@@ -341,6 +341,14 @@ void musb_hnp_stop(struct musb *musb)
DBG(1, "HNP: Stopping in unknown state %s\n",
otg_state_string(musb));
}
+
+ /*
+ * When returning to A state after HNP, avoid hub_port_rebounce(),
+ * which cause occasional OPT A "Did not receive reset after connect"
+ * errors.
+ */
+ musb->port1_status &=
+ ~(1 << USB_PORT_FEAT_C_CONNECTION);
}
#endif
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
reply other threads:[~2007-08-24 13:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20070824134911.GP30522@atomide.com \
--to=tony@atomide.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