summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorMichał Kępień <kernel@kempniu.pl>2016-12-08 08:30:52 +0100
committerJohannes Berg <johannes.berg@intel.com>2016-12-13 16:20:29 +0100
commit73f4f76a196d7adb11a1e192bd8024fe0bc83910 (patch)
tree9e1339be669d949a33d2bdf6b794baa6c20615e3 /arch/xtensa
parent6124c53edeeaac4394755ebb38c522bc4eef1460 (diff)
downloadlinux-73f4f76a196d7adb11a1e192bd8024fe0bc83910.tar.bz2
rfkill: Add rfkill-any LED trigger
Add a new "global" (i.e. not per-rfkill device) LED trigger, rfkill-any, which may be useful on laptops with a single "radio LED" and multiple radio transmitters. The trigger is meant to turn a LED on whenever there is at least one radio transmitter active and turn it off otherwise. This requires taking rfkill_global_mutex before calling rfkill_set_block() in rfkill_resume(): since __rfkill_any_led_trigger_event() is called from rfkill_set_block() unconditionally, each caller of the latter needs to take care of locking rfkill_global_mutex. Signed-off-by: Michał Kępień <kernel@kempniu.pl> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions