From: Grazvydas Ignotas Date: Mon, 25 Feb 2013 22:27:17 +0000 (+0200) Subject: usb: otg: twl4030-usb: don't switch the phy on/off needlessly X-Git-Tag: sz_154~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c91286a490a8b02ebd852e24a7c9fda9d37aa43d;p=pandora-kernel.git usb: otg: twl4030-usb: don't switch the phy on/off needlessly With runtime_pm in place there is no longer need to turn the phy on/off in OTG layer on cable connect/disconnect, OMAP glue does this through otg.set_suspend() callback already. This will save power when cable is connected but no gadget driver is loaded. This will also have side effect of automatic USB charging no longer working without twl4030_charger driver, so be sure to enable it if charging is needed. --- Reading git-diff-tree failed