USB: OTG: Take wakelock when VBUS present
authorTodd Poynor <toddpoynor@google.com>
Sat, 2 Jul 2011 00:19:56 +0000 (17:19 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:36 +0000 (13:40 -0700)
commit059b9754afb38de7e0844a7a2949d141448cbfd6
tree2a93c1a736012f8a70a43446e766d04d5e06b390
parentef073ec675a24823f3ffc18c2ef60ae73a9cbc75
USB: OTG: Take wakelock when VBUS present

Enabled by default, can disable with:
   echo N > /sys/module/otg_wakelock/parameters/enabled

Change-Id: I34974624c52ae23490852b44c270d2f326cf6116
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/usb/phy/Kconfig
drivers/usb/phy/Makefile
drivers/usb/phy/otg-wakelock.c [new file with mode: 0644]