USB: OTG: Take wakelock when VBUS present
authorTodd Poynor <toddpoynor@google.com>
Sat, 2 Jul 2011 00:19:56 +0000 (17:19 -0700)
committerTodd Poynor <toddpoynor@google.com>
Thu, 7 Jul 2011 01:44:38 +0000 (18:44 -0700)
commit75dc25a8708d905afffd6da5f4fe69356f4eac33
tree80331ddfe53bc52ba7dced548197c84a1a36d41f
parent42c5a0740e5d5646483118bfdf8aab88ab319dc3
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]