usb: musb: omap2430: turn off vbus on cable disconnect
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 24 Mar 2013 15:36:54 +0000 (17:36 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 2 Apr 2013 08:42:44 +0000 (11:42 +0300)
commit2c1fe89db1cfa9826c94e848c14dc68de0e2b0d5
tree0bf29b1601ab89018ca91677c580818fd5cc44a3
parentf65f4f40fb23b64a59adbe8629e8e7e6fea279cf
usb: musb: omap2430: turn off vbus on cable disconnect

On USB_EVENT_ID event the musb glue enables VBUS by calling
omap2430_musb_set_vbus(musb, 1) that sets the session bit, but on
USB_EVENT_NONE reverse action is never made, and that breaks PM.

Disable VBUS on USB_EVENT_NONE to be sure musb session is ended
on cable unplug so that PM works.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/omap2430.c
This page took 0.025377 seconds and 5 git commands to generate.