]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Improve auto-cfg mixer name for ALC262
authorTakashi Iwai <tiwai@suse.de>
Tue, 25 Aug 2009 14:08:47 +0000 (16:08 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 25 Aug 2009 14:08:47 +0000 (16:08 +0200)
commit05f5ff5bb307d472ff17f24481b6077e9e3c8884
tree8e8fea88aab6b60a36e8c139ba456c5a19259d53
parent5f9cb58ba5df28e867a4c2df3db0140bc148d3a0
ALSA: hda - Improve auto-cfg mixer name for ALC262

Similar improvements for ALC262 codec like previous two commits:
assign a better name, either Master or Speaker, for the primary output
controls.

However, in the case of ALC262 codec, the necessary changes are larger
than others because we need to check the possibility of different mixer
amps depending on the pins.  The pin 0x16 is mono, and bound with the
dedicated mixer 0x0e while other pins are bound with 0x0c.  Thus, there
are two possible volumes.

When only one of them is used, we can name it as "Master".  OTOH, when
both are used at the same time, they have to be named uniquely.

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