ALSA: ens1370: communicate PCI device to AC97
PATCH 1/1 ALSA: ens1370: communicate PCI device to AC97
Currently the subsys_vendor/device values always display as 0x0000 in the codec97#n/ac97#m-k file at least.
Quoted 1 line
From
b3f151d5100783ff72c08365cec417254a871aadMon Sep 17 00:00:00 2001
From: Rene Herman <[email protected]>
Date: Thu, 17 Jul 2008 14:02:16 +0200
Subject: [PATCH] ALSA: ens1370: communicate PCI device to AC97
communicate the ES137x PCI device to the AC97 code for its subsys_vendor/device values
Signed-off-by Rene Herman <[email protected]>
--- sound/pci/ens1370.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
sound/pci/ens1370.c +1 -0
@@ -1629,6 +1629,7 @@ static int __devinit snd_ensoniq_1371_mixer(struct ensoniq *ensoniq,memset (&ac97,0 ,sizeof (ac97)); ac97.private_data = ensoniq; ac97.private_free = snd_ensoniq_mixer_free_ac97; + ac97.pci = ensoniq->pci; ac97.scaps =AC97_SCAP_AUDIO ;if ((err =snd_ac97_mixer (pbus, &ac97, &ensoniq->u.es1371.ac97)) <0 )return err;
Signature · 1 line
1.5.5
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel