summaryrefslogtreecommitdiff
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-02-26 11:09:20 -0600
committerFelipe Balbi <balbi@ti.com>2015-03-10 15:33:27 -0500
commita67cab72b87c7bb970bec8bc060a8946c5dfa1c5 (patch)
tree4fef1aba35e01f849c4c6117ab7ea261e288472b /drivers/usb/musb
parentf860f0b1ea76b9f15d24db8fa98823eb15273afb (diff)
usb: musb: core: controller drops session automatically
Whenever babble happens, MUSB controller will drop session automatically. The only case where it won't drop the session, is when we're running on AM335x and SW_SESSION_CTRL bit has been set. In that case, controller will not touch session bit so SW has a chance to recover from babble condition. Tested-by: Bin Liu <b-liu@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/musb_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index d7730c7e7938..b86e975cba2b 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -880,7 +880,6 @@ b_host:
*/
if (power & MUSB_POWER_HSMODE) {
dev_err(musb->controller, "Babble\n");
- musb_writeb(musb->mregs, MUSB_DEVCTL, 0);
if (is_host_active(musb)) {
musb_generic_disable(musb);