From 3f630febba2b2beeea513a9881cc20573c0d0770 Mon Sep 17 00:00:00 2001 From: Ariff Abdullah Date: Mon, 2 Oct 2006 20:46:34 +0000 Subject: Backout remaining changes that make most AD1981B users unhappy. The exact situation is understood, and proper solution will follow sooner. --- sys/dev/sound/pcm/ac97.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev') diff --git a/sys/dev/sound/pcm/ac97.c b/sys/dev/sound/pcm/ac97.c index 5eb80307615e9..9b3380b4d09ba 100644 --- a/sys/dev/sound/pcm/ac97.c +++ b/sys/dev/sound/pcm/ac97.c @@ -857,6 +857,7 @@ ac97mix_init(struct snd_mixer *m) switch (codec->id) { case 0x41445374: /* AD1981B */ +#if 0 mask = 0; if (codec->mix[SOUND_MIXER_OGAIN].enable) mask |= SOUND_MASK_OGAIN; @@ -869,6 +870,7 @@ ac97mix_init(struct snd_mixer *m) mix_setparentchild(m, SOUND_MIXER_VOLUME, mask); mix_setrealdev(m, SOUND_MIXER_VOLUME, SOUND_MIXER_NONE); } +#endif break; case 0x434d4941: /* CMI9738 */ case 0x434d4961: /* CMI9739 */ -- cgit v1.3