]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Allow multiple ADCs for mic mute LED controls
authorTakashi Iwai <tiwai@suse.de>
Tue, 19 Jun 2018 10:42:03 +0000 (12:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 21 Jun 2018 11:54:36 +0000 (13:54 +0200)
commit4e3fbe9849e8554f39309130490ba944ff71bdfe
treee035d52d7714cf1de76051b6a9ae41d2a813b461
parente3c071757a0178f7c510eae7d129b652be0d3eff
ALSA: hda - Allow multiple ADCs for mic mute LED controls

Instead of refusing, allow the configuration with the multiple ADCs
(thus multiple capture switches) for enabling the mic mute LED.
This has been done for Sigmatel/IDT codecs, and we treat the OR-ed
values from all capture switches as the boolean condition.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c