aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorChenLi Tien <cltien@cmedia.com.tw>2005-03-24 14:47:35 -0500
committerJaroslav Kysela <perex@suse.cz>2005-05-29 03:00:21 -0400
commitd05b2817d859a2a2f2c3d5c056b688559fdbcc2b (patch)
tree0783e058f7650cafed38d092035c3e2e042cc57e /sound/pci
parent36c4dc42249e96f0b0ddc90ca400bcb3981dbc62 (diff)
[ALSA] fix multi-channel for model==full
HDA Codec driver The patch_cm9880.c can't play side/C/B channels from front panel jacks. I fixed it by adding select pin. Signed-off-by: ChenLi Tien <cltien@cmedia.com.tw> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_cmedia.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_cmedia.c b/sound/pci/hda/patch_cmedia.c
index b7cc8e4bffb7..a44d64e828d5 100644
--- a/sound/pci/hda/patch_cmedia.c
+++ b/sound/pci/hda/patch_cmedia.c
@@ -278,8 +278,10 @@ static struct hda_verb cmi9880_basic_init[] = {
278 { 0x0e, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 }, 278 { 0x0e, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 },
279 /* port-G for CLFE (rear panel) */ 279 /* port-G for CLFE (rear panel) */
280 { 0x1f, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 }, 280 { 0x1f, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 },
281 { 0x1f, AC_VERB_SET_CONNECT_SEL, 0x02 },
281 /* port-H for side (rear panel) */ 282 /* port-H for side (rear panel) */
282 { 0x20, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 }, 283 { 0x20, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 },
284 { 0x20, AC_VERB_SET_CONNECT_SEL, 0x01 },
283 /* port-C for line-in (rear panel) */ 285 /* port-C for line-in (rear panel) */
284 { 0x0c, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x20 }, 286 { 0x0c, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x20 },
285 /* port-B for mic-in (rear panel) with vref */ 287 /* port-B for mic-in (rear panel) with vref */
@@ -305,6 +307,10 @@ static struct hda_verb cmi9880_allout_init[] = {
305 { 0x0e, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 }, 307 { 0x0e, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 },
306 /* port-G for CLFE (rear panel) */ 308 /* port-G for CLFE (rear panel) */
307 { 0x1f, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 }, 309 { 0x1f, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 },
310 { 0x1f, AC_VERB_SET_CONNECT_SEL, 0x02 },
311 /* port-H for side (rear panel) */
312 { 0x20, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 },
313 { 0x20, AC_VERB_SET_CONNECT_SEL, 0x01 },
308 /* port-C for surround (rear panel) */ 314 /* port-C for surround (rear panel) */
309 { 0x0c, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 }, 315 { 0x0c, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 },
310 /* port-B for mic-in (rear panel) with vref */ 316 /* port-B for mic-in (rear panel) with vref */