USB: OTG: Take wakelock when VBUS present
authorTodd Poynor <toddpoynor@google.com>
Sat, 2 Jul 2011 00:19:56 +0000 (17:19 -0700)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:09:47 +0000 (12:09 -0800)
commit4b815eaedc8d56020893d175160b82cab729888f
treea1216d73804fa7a93867b6f8037f9dbfd38a9d59
parent24692e6c262223667ae1150f1645cd99e98812ca
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/otg/Kconfig
drivers/usb/otg/Makefile
drivers/usb/otg/otg-wakelock.c [new file with mode: 0644]