usb: musb: core: controller drops session automatically
authorFelipe Balbi <balbi@ti.com>
Thu, 26 Feb 2015 17:09:20 +0000 (11:09 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:27 +0000 (15:33 -0500)
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>
drivers/usb/musb/musb_core.c

index d7730c7e793879e17b3873079fe63f40646267b1..b86e975cba2b2814ffec355ba12835ac5103d38a 100644 (file)
@@ -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);
This page took 0.029196 seconds and 5 git commands to generate.