summaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg/Kconfig
diff options
context:
space:
mode:
authorJouni Hogander <jouni.hogander@nokia.com>2009-02-20 13:02:31 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-25 00:20:36 +0100
commit66760169492445395c530c812443f58e2cfdb3dc (patch)
tree8608b8550e427c090b04b817f49225787203c416 /drivers/usb/otg/Kconfig
parentUSB: usbmon: Add binary API v1 (diff)
downloadlinux-66760169492445395c530c812443f58e2cfdb3dc.tar.xz
linux-66760169492445395c530c812443f58e2cfdb3dc.zip
USB: TWL: disable VUSB regulators when cable unplugged
This patch disables USB regulators VUSB1V5, VUSB1V8, and VUSB3V1 when the USB cable is unplugged to reduce power consumption. Added a depencency from twl4030 usb driver to TWL_REGULATOR. Signed-off-by: Jouni Hogander <jouni.hogander@nokia.com> Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@digia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/otg/Kconfig')
-rw-r--r--drivers/usb/otg/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/otg/Kconfig b/drivers/usb/otg/Kconfig
index fc1ca03ce4da..aa884d072f0b 100644
--- a/drivers/usb/otg/Kconfig
+++ b/drivers/usb/otg/Kconfig
@@ -43,7 +43,7 @@ config ISP1301_OMAP
config TWL4030_USB
tristate "TWL4030 USB Transceiver Driver"
- depends on TWL4030_CORE
+ depends on TWL4030_CORE && REGULATOR_TWL4030
select USB_OTG_UTILS
help
Enable this to support the USB OTG transceiver on TWL4030