summaryrefslogtreecommitdiff
path: root/sound/pci/ac97/ac97_patch.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-02-09 14:42:03 +0300
committerJaroslav Kysela <perex@suse.cz>2007-02-14 10:38:21 +0300
commit9e292c0013d7d4158169eb9786aa0f9816eb5b40 (patch)
treeda574acc636c0cfb437639534040511e254416ca /sound/pci/ac97/ac97_patch.c
parent9e507abd87103b5263bb0bbd94a15d74004557e9 (diff)
downloadlinux-9e292c0013d7d4158169eb9786aa0f9816eb5b40.tar.xz
[ALSA] ac97 - Fix silent output problem with Cx20551 codec
Fixed the silent output problem on laptops with Conexant Cx20551 codec chip, such as Packard-bell EasyNote A* series. The information was taken from ALSA bug#1134. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/ac97/ac97_patch.c')
-rw-r--r--sound/pci/ac97/ac97_patch.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index 641d0c8d659e..bfc2fed16da3 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -1338,6 +1338,12 @@ int patch_conexant(struct snd_ac97 * ac97)
return 0;
}
+int patch_cx20551(struct snd_ac97 *ac97)
+{
+ snd_ac97_update_bits(ac97, 0x5c, 0x01, 0x01);
+ return 0;
+}
+
/*
* Analog Device AD18xx, AD19xx codecs
*/