usb: musb: omap2430: turn off vbus on cable disconnect
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 26 Feb 2013 00:07:00 +0000 (02:07 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 12 Mar 2013 21:45:56 +0000 (23:45 +0200)
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 unconditionally on USB_EVENT_NONE to be sure musb
session is ended on cable unplug so that PM works.


No differences found