usb: musb: core: simplify musb_recover_work()
authorFelipe Balbi <balbi@ti.com>
Thu, 26 Feb 2015 20:02:35 +0000 (14:02 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:29 +0000 (15:33 -0500)
commitb4dc38fd45b63e3da2bc98db5d283a15a637a2fa
treefa97f486d5ff9bc79a370d81c3df78d2489c50b7
parent011d0dd5400b84e593eecfc4a17fcfb6c0c5ac60
usb: musb: core: simplify musb_recover_work()

we're not resetting musb at all, just restarting
the session. This means we don't need to touch PHYs
or VBUS or anything like that. Just make sure session
bit is reenabled after MUSB dropped it.

while at that, make sure to tell usbcore that we're
dropping the session and, thus, disconnecting the
device.

Tested-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c