projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7583cb5
)
[ALSA] hda-codec - Fix ALC268 acer model
author
Takashi Iwai
<tiwai@suse.de>
Fri, 17 Aug 2007 07:02:12 +0000
(09:02 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Tue, 16 Oct 2007 13:59:14 +0000
(15:59 +0200)
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>
sound/pci/hda/patch_realtek.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index e82b03a59790d502f4ab90b80fea535267af878e..4a40a056a8c6a68970858e3b031f6c68a75e52bd 100644
(file)
--- 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[] = {
};
/* Acer specific */
-#define alc268_acer_bind_master_vol alc262_fujitsu_bind_master_vol
+/* bind volumes of both NID 0x0c and 0x0d */
+static struct hda_bind_ctls alc268_acer_bind_master_vol = {
+ .ops = &snd_hda_bind_vol,
+ .values = {
+ HDA_COMPOSE_AMP_VAL(0x02, 3, 0, HDA_OUTPUT),
+ HDA_COMPOSE_AMP_VAL(0x03, 3, 0, HDA_OUTPUT),
+ 0
+ },
+};
+
#define alc268_acer_master_sw_put alc262_fujitsu_master_sw_put
#define alc268_acer_automute alc262_fujitsu_automute