aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ac97/ac97_patch.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-05-10 08:50:31 -0400
committerJaroslav Kysela <perex@suse.cz>2005-05-29 04:06:40 -0400
commit462c4173509c5d1ebdc6cfd58f7236c2ac467e30 (patch)
tree246cda0e1153563b6c59341d5d07660d53da5b42 /sound/pci/ac97/ac97_patch.c
parent3296480674e127601f453db6301bfbcbacb0d123 (diff)
[ALSA] ac97 - enable multichannel output on AD198x codecs
AC97 Codec The code for AD1980/AD1985/AD1986 codecs forgot to enable the code to switch the jack sharing bits on AD1888-compatible codecs. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/pci/ac97/ac97_patch.c')
-rw-r--r--sound/pci/ac97/ac97_patch.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index 05efff08ddc..ce02e7091fc 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -1585,8 +1585,9 @@ static struct snd_ac97_build_ops patch_ad1980_build_ops = {
1585 .build_post_spdif = patch_ad198x_post_spdif, 1585 .build_post_spdif = patch_ad198x_post_spdif,
1586 .build_specific = patch_ad1980_specific, 1586 .build_specific = patch_ad1980_specific,
1587#ifdef CONFIG_PM 1587#ifdef CONFIG_PM
1588 .resume = ad18xx_resume 1588 .resume = ad18xx_resume,
1589#endif 1589#endif
1590 .update_jacks = ad1888_update_jacks,
1590}; 1591};
1591 1592
1592int patch_ad1980(ac97_t * ac97) 1593int patch_ad1980(ac97_t * ac97)
@@ -1614,8 +1615,9 @@ static struct snd_ac97_build_ops patch_ad1985_build_ops = {
1614 .build_post_spdif = patch_ad198x_post_spdif, 1615 .build_post_spdif = patch_ad198x_post_spdif,
1615 .build_specific = patch_ad1985_specific, 1616 .build_specific = patch_ad1985_specific,
1616#ifdef CONFIG_PM 1617#ifdef CONFIG_PM
1617 .resume = ad18xx_resume 1618 .resume = ad18xx_resume,
1618#endif 1619#endif
1620 .update_jacks = ad1888_update_jacks,
1619}; 1621};
1620 1622
1621int patch_ad1985(ac97_t * ac97) 1623int patch_ad1985(ac97_t * ac97)