浏览代码

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>
Felipe Balbi 10 年之前
父节点
当前提交
a67cab72b8
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/usb/musb/musb_core.c

+ 0 - 1
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);