From: Grazvydas Ignotas Date: Sun, 24 Mar 2013 15:36:54 +0000 (+0200) Subject: usb: musb: omap2430: turn off vbus on cable disconnect X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~63^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c1fe89db1cfa9826c94e848c14dc68de0e2b0d5;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 on USB_EVENT_NONE to be sure musb session is ended on cable unplug so that PM works. Signed-off-by: Grazvydas Ignotas Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed