Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android
[firefly-linux-kernel-4.4.55.git] / drivers / usb / phy / Kconfig
index 2311b1e4e43c6d1258b68ca6b330cac68cb718a7..3312ad2bb67f793afa629189f43919360b83d1c2 100644 (file)
@@ -16,6 +16,14 @@ menuconfig USB_PHY
          If you're not sure if this applies to you, it probably doesn't;
          say N here.
 
+config USB_OTG_WAKELOCK
+       bool "Hold a wakelock when USB connected"
+       depends on WAKELOCK
+       select USB_OTG_UTILS
+       help
+         Select this to automatically hold a wakelock when USB is
+         connected, preventing suspend.
+
 if USB_PHY
 
 #