From: Grazvydas Ignotas Date: Tue, 26 Feb 2013 00:07:00 +0000 (+0200) Subject: usb: musb: omap2430: turn off vbus on cable disconnect X-Git-Tag: sz_154~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0431f2a3d8ceb9c9d72a6526bb4bc5145d180f0;p=pandora-kernel.git 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 unconditionally on USB_EVENT_NONE to be sure musb session is ended on cable unplug so that PM works. --- Reading git-diff-tree failed