X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fusb%2Fphy%2FKconfig;h=0dd0da0d0ac528f86326be551e44b4296c8a1f21;hb=72ca3a2d7a150ee50fb526dab6bd417dd211ffe9;hp=be41733a5eac27d59591a5d966e5a97a559083c4;hpb=1ab056a5fb0d123436b862806734c6a9dc4651a4;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index be41733a5eac..0dd0da0d0ac5 100644 --- a/drivers/usb/phy/Kconfig +++ b/drivers/usb/phy/Kconfig @@ -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 #