37de588f8f
Some platforms do not want to power down rfkill devices on suspend. Change-Id: I62a11630521c636d54a4a02ab9037a43435925f5 Signed-off-by: Nick Pelly <npelly@google.com> [AmitP: Folded following android-4.9 commit changes into this patch faad2b874fea ("rfkill: fix unused function warning")] Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
38 lines
857 B
Text
38 lines
857 B
Text
#
|
|
# RF switch subsystem configuration
|
|
#
|
|
menuconfig RFKILL
|
|
tristate "RF switch subsystem support"
|
|
help
|
|
Say Y here if you want to have control over RF switches
|
|
found on many WiFi and Bluetooth cards.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called rfkill.
|
|
|
|
config RFKILL_PM
|
|
bool "Power off on suspend"
|
|
depends on RFKILL && PM
|
|
default y
|
|
|
|
# LED trigger support
|
|
config RFKILL_LEDS
|
|
bool
|
|
depends on RFKILL
|
|
depends on LEDS_TRIGGERS = y || RFKILL = LEDS_TRIGGERS
|
|
default y
|
|
|
|
config RFKILL_INPUT
|
|
bool "RF switch input support" if EXPERT
|
|
depends on RFKILL
|
|
depends on INPUT = y || RFKILL = INPUT
|
|
default y if !EXPERT
|
|
|
|
config RFKILL_GPIO
|
|
tristate "GPIO RFKILL driver"
|
|
depends on RFKILL
|
|
depends on GPIOLIB || COMPILE_TEST
|
|
default n
|
|
help
|
|
If you say yes here you get support of a generic gpio RFKILL
|
|
driver.
|