]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Introduce the bitmask for excluding output volume
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Nov 2013 15:32:01 +0000 (16:32 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 06:49:41 +0000 (07:49 +0100)
commite1f100f4723757ad41067abe0ca24759d001d714
treeb482474baaaef3492e48a0acca2e99366974f4ed
parente378363ce1450fa6ea14c2cd5cc56801e7ef586d
ALSA: hda - Introduce the bitmask for excluding output volume

Add a bitmask to hda_gen_spec indicating NIDs to exclude from the
possible volume controls.  That is, when the bit is set, the NID
corresponding to the bit won't be picked as an output volume control
any longer.

Basically this is just a band-aid for working around the issue found
with CS4208 codec, where only the headphone pin has a volume AMP with
different dB steps.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=60811
Cc: <stable@vger.kernel.org> [v3.12+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_generic.h
sound/pci/hda/patch_cirrus.c