Commit 462c4173 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Jaroslav Kysela

[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: default avatarClemens Ladisch <clemens@ladisch.de>
parent 32964806
...@@ -1585,8 +1585,9 @@ static struct snd_ac97_build_ops patch_ad1980_build_ops = { ...@@ -1585,8 +1585,9 @@ static struct snd_ac97_build_ops patch_ad1980_build_ops = {
.build_post_spdif = patch_ad198x_post_spdif, .build_post_spdif = patch_ad198x_post_spdif,
.build_specific = patch_ad1980_specific, .build_specific = patch_ad1980_specific,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.resume = ad18xx_resume .resume = ad18xx_resume,
#endif #endif
.update_jacks = ad1888_update_jacks,
}; };
int patch_ad1980(ac97_t * ac97) int patch_ad1980(ac97_t * ac97)
...@@ -1614,8 +1615,9 @@ static struct snd_ac97_build_ops patch_ad1985_build_ops = { ...@@ -1614,8 +1615,9 @@ static struct snd_ac97_build_ops patch_ad1985_build_ops = {
.build_post_spdif = patch_ad198x_post_spdif, .build_post_spdif = patch_ad198x_post_spdif,
.build_specific = patch_ad1985_specific, .build_specific = patch_ad1985_specific,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.resume = ad18xx_resume .resume = ad18xx_resume,
#endif #endif
.update_jacks = ad1888_update_jacks,
}; };
int patch_ad1985(ac97_t * ac97) int patch_ad1985(ac97_t * ac97)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment