diff options
author | Jaroslav Kysela <[email protected]> | 2021-03-17 18:29:44 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2021-03-30 15:38:37 +0200 |
commit | cb17fe0045aaa74d1ce12c0ad0058a62a1ce0401 (patch) | |
tree | aa0c55bd6f1e4bad33e44eed84112ce36117f88c /drivers/fpga/fpga-mgr.c | |
parent | e65bf99718b538c2f34e9444dfe1087789b58f94 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions