aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-08-17 03:02:12 -0400
committerJaroslav Kysela <perex@perex.cz>2007-10-16 09:59:14 -0400
commit6bc9685796529754acd819d9c979227d823c408d (patch)
tree21a155919f18cbae8debe9c882aed63f24d00670 /sound/pci/hda/patch_realtek.c
parent7583cb51a1e276591f57a2fae05489c878f8ef54 (diff)
[ALSA] hda-codec - Fix ALC268 acer model
ALC268 has different NIDs from ALC262. Acer model should use NID 0x02 and 0x03 instead of 0x0c and 0x0d for the master volume. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index e82b03a59790..4a40a056a8c6 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -8418,7 +8418,16 @@ static struct hda_verb alc268_toshiba_verbs[] = {
8418}; 8418};
8419 8419
8420/* Acer specific */ 8420/* Acer specific */
8421#define alc268_acer_bind_master_vol alc262_fujitsu_bind_master_vol 8421/* bind volumes of both NID 0x0c and 0x0d */
8422static struct hda_bind_ctls alc268_acer_bind_master_vol = {
8423 .ops = &snd_hda_bind_vol,
8424 .values = {
8425 HDA_COMPOSE_AMP_VAL(0x02, 3, 0, HDA_OUTPUT),
8426 HDA_COMPOSE_AMP_VAL(0x03, 3, 0, HDA_OUTPUT),
8427 0
8428 },
8429};
8430
8422#define alc268_acer_master_sw_put alc262_fujitsu_master_sw_put 8431#define alc268_acer_master_sw_put alc262_fujitsu_master_sw_put
8423#define alc268_acer_automute alc262_fujitsu_automute 8432#define alc268_acer_automute alc262_fujitsu_automute
8424 8433