git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
sound
/
pci
/
au88x0
/
au88x0_mixer.c
diff --git
a/sound/pci/au88x0/au88x0_mixer.c
b/sound/pci/au88x0/au88x0_mixer.c
index
477b2d1
..
95ed26e
100644
(file)
--- a/
sound/pci/au88x0/au88x0_mixer.c
+++ b/
sound/pci/au88x0/au88x0_mixer.c
@@
-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;
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;
}
}