[PATCH] ALSA: ens1370: communicate PCI device to AC97

Rene Herman rene.herman at gmail.com
Thu Jul 17 14:02:16 CEST 2008


communicate the ES137x PCI device to the AC97 code for its
subsys_vendor/device values

Signed-off-by: Rene Herman <rene.herman at gmail.com>
---
 sound/pci/ens1370.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/pci/ens1370.c b/sound/pci/ens1370.c
index 38808fb..7298fe0 100644
--- a/sound/pci/ens1370.c
+++ b/sound/pci/ens1370.c
@@ -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;
-- 
1.5.5


--------------070204000106090400030805--


More information about the Alsa-devel mailing list