aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Ranostay <mranostay@embeddedalley.com>2008-04-14 07:32:27 -0400
committerTakashi Iwai <tiwai@suse.de>2008-04-24 06:00:34 -0400
commit780c8be4ab6c7baf5cdfa1102f56480acb8a2479 (patch)
tree9b8ba06e8ae6eaca994b781aac7470bb8ca76963
parent06a9c30cdda43ca82d7f22c8ebeb93e691f85b5f (diff)
[ALSA] hda: Correct SPDIF out default config
Several laptops have have the SPDIF out defined as 'Digital other out' when it should be 'SPDIF out' in the default config. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/patch_sigmatel.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 69cd3b23f5a7..d79580c29862 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -3778,6 +3778,13 @@ static int patch_stac927x(struct hda_codec *codec)
3778 spec->mixer = stac927x_mixer; 3778 spec->mixer = stac927x_mixer;
3779 break; 3779 break;
3780 case STAC_DELL_BIOS: 3780 case STAC_DELL_BIOS:
3781 switch (codec->subsystem_id) {
3782 case 0x10280209:
3783 case 0x1028022e:
3784 /* correct the device field to SPDIF out */
3785 stac92xx_set_config_reg(codec, 0x21, 0x01442070);
3786 break;
3787 };
3781 /* configure the analog microphone on some laptops */ 3788 /* configure the analog microphone on some laptops */
3782 stac92xx_set_config_reg(codec, 0x0c, 0x90a79130); 3789 stac92xx_set_config_reg(codec, 0x0c, 0x90a79130);
3783 /* correct the front output jack as a hp out */ 3790 /* correct the front output jack as a hp out */