summaryrefslogtreecommitdiff
path: root/sound/pci/cmipci.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-08-22 16:52:10 +0200
committerTakashi Iwai <tiwai@suse.de>2017-08-22 19:44:04 +0200
commit62a939477173fabfe9f52114fab878a00b87f9a3 (patch)
tree06828cc2c70ac1ed94d3d2a0dd71343dd2ee53e9 /sound/pci/cmipci.c
parentcbb7eb20bb7c73b27e8ece8f871458ab0eab8253 (diff)
ALSA: hda - Implement mic-mute LED mode enum
Dell laptops have another LED for mic-mute in addition to the master mute. The former is tied with the capture switch (in a reverse way) while the latter is tied with the master playback switch. We already have an enum control to change the behavior for the master mute LED in different ways, e.g. keeping always off or turning off at mute. But, the mic-mute LED has no such management but its behavior is hard-coded. This patch implements an enum control to change the mic-mute LED behavior like what we have for the master mute LED. The ctl provides four modes: keep-on, keep-off, follow-capture and follow-mute. The default mode is the last one, follow-mute, which follows the capture mute, i.e. LED turning on when the capture is off, and turning off when the capture is active. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cmipci.c')
0 files changed, 0 insertions, 0 deletions