From: Hema HK Date: Thu, 17 Feb 2011 06:36:04 +0000 (+0530) Subject: usb: otg: enable regulator only on cable/device connect X-Git-Tag: v2.6.39-rc1~472^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dc2503b81a0171e68766f722a452e97a7da320b;p=pandora-kernel.git usb: otg: enable regulator only on cable/device connect Remove the regulator enable while driver loading and enable it only when the cable/device is connected and disable it when disconnected. Remove the configuration of config_state and config_trans register configuration as these registers are programmed when regulator enable/disable is called. Signed-off-by: Hema HK Cc: Tony Lindgren Cc: Paul Walmsley Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed