Commit 6d95ddce authored by Jaroslav Kysela's avatar Jaroslav Kysela Committed by Linus Torvalds

ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>

AC97 Codec Core
fix hang because of uninitialized ad18xx.mutex with AD1985
parent cb133350
...@@ -1003,6 +1003,7 @@ int patch_ad1985(ac97_t * ac97) ...@@ -1003,6 +1003,7 @@ int patch_ad1985(ac97_t * ac97)
{ {
unsigned short misc; unsigned short misc;
patch_ad1881(ac97);
ac97->build_ops = &patch_ad1985_build_ops; ac97->build_ops = &patch_ad1985_build_ops;
misc = snd_ac97_read(ac97, AC97_AD_MISC); misc = snd_ac97_read(ac97, AC97_AD_MISC);
/* switch front/surround line-out/hp-out */ /* switch front/surround line-out/hp-out */
......
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