aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-03-06 03:52:36 -0500
committerTakashi Iwai <tiwai@suse.de>2009-03-06 03:52:36 -0500
commitb3225190c1991449086395f85a3cc07ac936e8f0 (patch)
tree0c42a3f4e8cc9c4497260d649cdbeb890915e5f9 /sound/pci/hda/patch_sigmatel.c
parentf03d3115a6bcb814019d945c50c2ef91e5f14477 (diff)
parentc50ff7c04225c945b13d410d50fde6ff6c59d7ee (diff)
Merge branch 'fix/hda' into topic/hda
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index e9331561a484..2e0a599f8c12 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -1227,7 +1227,7 @@ static const char *slave_vols[] = {
1227 "LFE Playback Volume", 1227 "LFE Playback Volume",
1228 "Side Playback Volume", 1228 "Side Playback Volume",
1229 "Headphone Playback Volume", 1229 "Headphone Playback Volume",
1230 "Headphone Playback Volume", 1230 "Headphone2 Playback Volume",
1231 "Speaker Playback Volume", 1231 "Speaker Playback Volume",
1232 "External Speaker Playback Volume", 1232 "External Speaker Playback Volume",
1233 "Speaker2 Playback Volume", 1233 "Speaker2 Playback Volume",
@@ -1241,7 +1241,7 @@ static const char *slave_sws[] = {
1241 "LFE Playback Switch", 1241 "LFE Playback Switch",
1242 "Side Playback Switch", 1242 "Side Playback Switch",
1243 "Headphone Playback Switch", 1243 "Headphone Playback Switch",
1244 "Headphone Playback Switch", 1244 "Headphone2 Playback Switch",
1245 "Speaker Playback Switch", 1245 "Speaker Playback Switch",
1246 "External Speaker Playback Switch", 1246 "External Speaker Playback Switch",
1247 "Speaker2 Playback Switch", 1247 "Speaker2 Playback Switch",
@@ -3514,6 +3514,7 @@ static int stac92xx_parse_auto_config(struct hda_codec *codec, hda_nid_t dig_out
3514 if (! spec->autocfg.line_outs) 3514 if (! spec->autocfg.line_outs)
3515 return 0; /* can't find valid pin config */ 3515 return 0; /* can't find valid pin config */
3516 3516
3517#if 0 /* FIXME: temporarily disabled */
3517 /* If we have no real line-out pin and multiple hp-outs, HPs should 3518 /* If we have no real line-out pin and multiple hp-outs, HPs should
3518 * be set up as multi-channel outputs. 3519 * be set up as multi-channel outputs.
3519 */ 3520 */
@@ -3533,6 +3534,7 @@ static int stac92xx_parse_auto_config(struct hda_codec *codec, hda_nid_t dig_out
3533 spec->autocfg.line_out_type = AUTO_PIN_HP_OUT; 3534 spec->autocfg.line_out_type = AUTO_PIN_HP_OUT;
3534 spec->autocfg.hp_outs = 0; 3535 spec->autocfg.hp_outs = 0;
3535 } 3536 }
3537#endif /* FIXME: temporarily disabled */
3536 if (spec->autocfg.mono_out_pin) { 3538 if (spec->autocfg.mono_out_pin) {
3537 int dir = get_wcaps(codec, spec->autocfg.mono_out_pin) & 3539 int dir = get_wcaps(codec, spec->autocfg.mono_out_pin) &
3538 (AC_WCAP_OUT_AMP | AC_WCAP_IN_AMP); 3540 (AC_WCAP_OUT_AMP | AC_WCAP_IN_AMP);