summaryrefslogtreecommitdiff
path: root/fs/file.c
diff options
context:
space:
mode:
authorHema HK <hemahk@ti.com>2011-02-17 12:06:04 +0530
committerFelipe Balbi <balbi@ti.com>2011-02-17 21:11:46 +0200
commit6dc2503b81a0171e68766f722a452e97a7da320b (patch)
tree4c784d66bf2d7fd79449f55973d75f83db1a0188 /fs/file.c
parent207b0e1f1655bd7008b7322cdc3f84fb171c546d (diff)
downloadlinux-3.10-6dc2503b81a0171e68766f722a452e97a7da320b.tar.gz
linux-3.10-6dc2503b81a0171e68766f722a452e97a7da320b.tar.bz2
linux-3.10-6dc2503b81a0171e68766f722a452e97a7da320b.zip
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 <hemahk@ti.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Paul Walmsley <paul@pwsan.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions