summaryrefslogtreecommitdiff
path: root/sound/pci/ac97/ac97_patch.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-08-05 17:45:45 +0400
committerJaroslav Kysela <perex@perex.cz>2008-08-06 17:40:28 +0400
commit8f4f4ef6fed55a3636db3146a3e50b7febcbd7de (patch)
treee02cff412e7169e8dd820fb39d9079a5b22f6a83 /sound/pci/ac97/ac97_patch.c
parentb9c196e1452e1d4cbf0a1499f1e9c1b3edf59320 (diff)
downloadlinux-8f4f4ef6fed55a3636db3146a3e50b7febcbd7de.tar.xz
ALSA: ac97 - Enable mono-out on ALC203 codec as default
Use pin 37 for mono-out as default on ALC203. Reported-by: george pee <georgepee@gmail.com> Tested-by: george pee <georgepee@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/ac97/ac97_patch.c')
-rw-r--r--sound/pci/ac97/ac97_patch.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index f4fbc795ee81..bb028f8f9a2e 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -2560,6 +2560,14 @@ static int patch_ad1986(struct snd_ac97 * ac97)
return 0;
}
+/*
+ * realtek ALC203: use mono-out for pin 37
+ */
+static int patch_alc203(struct snd_ac97 *ac97)
+{
+ snd_ac97_update_bits(ac97, 0x7a, 0x400, 0x400);
+ return 0;
+}
/*
* realtek ALC65x/850 codecs