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)
commita67cab72b87c7bb970bec8bc060a8946c5dfa1c5
tree4fef1aba35e01f849c4c6117ab7ea261e288472b
parentf860f0b1ea76b9f15d24db8fa98823eb15273afb
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>
drivers/usb/musb/musb_core.c