aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_cmedia.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-17 05:09:23 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:17:26 -0500
commit8d88bc3d361bdd81a214eb9c5d06b291d06c603a (patch)
treedc3bfd15ff731e55bc8c2e29f54d050325a9ee1a /sound/pci/hda/patch_cmedia.c
parenta2a20939b1cc82222eb67a4631009338791f1acd (diff)
[ALSA] hda-codec - Fix assignment of speaker pin
Modules: HDA Codec driver,HDA generic driver Fix the auto-assignment of speaker pin. Handle it independently from line-out pins. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_cmedia.c')
-rw-r--r--sound/pci/hda/patch_cmedia.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sound/pci/hda/patch_cmedia.c b/sound/pci/hda/patch_cmedia.c
index 6e0fd92a2be3..37ee1246b2dd 100644
--- a/sound/pci/hda/patch_cmedia.c
+++ b/sound/pci/hda/patch_cmedia.c
@@ -76,19 +76,6 @@ struct cmi_spec {
76 struct hda_verb multi_init[9]; /* 2 verbs for each pin + terminator */ 76 struct hda_verb multi_init[9]; /* 2 verbs for each pin + terminator */
77}; 77};
78 78
79/* amp values */
80#define AMP_IN_MUTE(idx) (0x7080 | ((idx)<<8))
81#define AMP_IN_UNMUTE(idx) (0x7000 | ((idx)<<8))
82#define AMP_OUT_MUTE 0xb080
83#define AMP_OUT_UNMUTE 0xb000
84#define AMP_OUT_ZERO 0xb000
85/* pinctl values */
86#define PIN_IN 0x20
87#define PIN_VREF80 0x24
88#define PIN_VREF50 0x21
89#define PIN_OUT 0x40
90#define PIN_HP 0xc0
91
92/* 79/*
93 * input MUX 80 * input MUX
94 */ 81 */