From: Matthew Ranostay <mranostay@embeddedalley.com>
To: alsa-devel@alsa-project.org
Cc: Takashi Iwai <tiwai@suse.de>,
"Tellman, Steven" <Steven.Tellman@idt.com>,
Mario_Limonciello@Dell.com
Subject: [PATCH] hda: Correct SPDIF out default config
Date: Fri, 11 Apr 2008 16:16:08 -0400 [thread overview]
Message-ID: <47FFC708.1050908@embeddedalley.com> (raw)
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>
---
diff -r 0dd2b6cb1506 pci/hda/patch_sigmatel.c
--- a/pci/hda/patch_sigmatel.c Wed Apr 09 08:16:33 2008 +0200
+++ b/pci/hda/patch_sigmatel.c Fri Apr 11 16:02:57 2008 -0400
@@ -3778,6 +3778,13 @@ static int patch_stac927x(struct hda_cod
spec->mixer = stac927x_mixer;
break;
case STAC_DELL_BIOS:
+ switch (codec->subsystem_id) {
+ case 0x10280209:
+ case 0x1028022e:
+ /* correct the device field to SPDIF out */
+ stac92xx_set_config_reg(codec, 0x21, 0x01442070);
+ break;
+ };
/* configure the analog microphone on some laptops */
stac92xx_set_config_reg(codec, 0x0c, 0x90a79130);
/* correct the front output jack as a hp out */
next reply other threads:[~2008-04-11 20:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-11 20:16 Matthew Ranostay [this message]
2008-04-14 10:36 ` [PATCH] hda: Correct SPDIF out default config Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47FFC708.1050908@embeddedalley.com \
--to=mranostay@embeddedalley.com \
--cc=Mario_Limonciello@Dell.com \
--cc=Steven.Tellman@idt.com \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.