]> asedeno.scripts.mit.edu Git - linux.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)
commitc647f806b8c227de05f7f91b0ba8450b58cb3dfe
treee035d52d7714cf1de76051b6a9ae41d2a813b461
parent184e302b46c94bfb1d53fe3d4c925a45a6990430
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