summaryrefslogtreecommitdiff
path: root/drivers/usb/otg/Kconfig
diff options
context:
space:
mode:
authorJouni Hogander <jouni.hogander@nokia.com>2009-02-20 14:02:31 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-24 16:20:36 -0700
commit66760169492445395c530c812443f58e2cfdb3dc (patch)
tree8608b8550e427c090b04b817f49225787203c416 /drivers/usb/otg/Kconfig
parent471c604daf73ff549d374ee54f9e6bfd5a54d4e8 (diff)
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 fc1ca03ce4d..aa884d072f0 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