vserver 1.9.5.x5
[linux-2.6.git] / sound / pci / au88x0 / au88x0_mixer.c
index 477b2d1..95ed26e 100644 (file)
@@ -26,5 +26,7 @@ static int __devinit snd_vortex_mixer(vortex_t * vortex)
        memset(&ac97, 0, sizeof(ac97));
        // Intialize AC97 codec stuff.
        ac97.private_data = vortex;
-       return snd_ac97_mixer(pbus, &ac97, &vortex->codec);
+       err = snd_ac97_mixer(pbus, &ac97, &vortex->codec);
+       vortex->isquad = ((vortex->codec == NULL) ?  0 : (vortex->codec->ext_id&0x80));
+       return err;
 }