USB: OTG: Take wakelock when VBUS present
authorTodd Poynor <toddpoynor@google.com>
Sat, 2 Jul 2011 00:19:56 +0000 (17:19 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:50 +0000 (13:51 -0800)
commit4f7e9b2f2ebba52373c74b7f4a102dc2c0f79983
tree744a6aee7542f94817256c868687d12d0148aa4e
parentd0bc6b1af5a5a9c4397064967e4e9c2bc6552c6d
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]