diff options
author | Jaroslav Kysela <perex@perex.cz> | 2021-03-17 18:29:44 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-03-30 15:38:37 +0200 |
commit | cb17fe0045aaa74d1ce12c0ad0058a62a1ce0401 (patch) | |
tree | aa0c55bd6f1e4bad33e44eed84112ce36117f88c /tools/testing/selftests/bpf/progs/fexit_sleep.c | |
parent | e65bf99718b538c2f34e9444dfe1087789b58f94 (diff) | |
download | lwn-cb17fe0045aaa74d1ce12c0ad0058a62a1ce0401.tar.gz lwn-cb17fe0045aaa74d1ce12c0ad0058a62a1ce0401.zip |
ALSA: control - add sysfs support to the LED trigger module
Create SYSFS/devices/virtual/sound/ctl-led tree
(with SYSFS/class/sound/ctl-led symlink).
speaker/
+-- mode
+-- brightness
mic/
+-- mode
+-- brightness
Copy the idea from the HDA driver and allow to set the audio
LEDs based on the various modes:
- follow mute
- follow moute (inverted to follow mute)
- off
- on
Also, the actual LED state is exposed.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20210317172945.842280-6-perex@perex.cz
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/fexit_sleep.c')
0 files changed, 0 insertions, 0 deletions