]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: TWL: disable VUSB regulators when cable unplugged
authorJouni Hogander <jouni.hogander@nokia.com>
Fri, 20 Feb 2009 12:02:31 +0000 (14:02 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:36 +0000 (16:20 -0700)
commit66760169492445395c530c812443f58e2cfdb3dc
tree8608b8550e427c090b04b817f49225787203c416
parent471c604daf73ff549d374ee54f9e6bfd5a54d4e8
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>
drivers/usb/otg/Kconfig
drivers/usb/otg/twl4030-usb.c