]> err.no Git - linux-2.6/commitdiff
ALSA: ALSA: ens1370: communicate PCI device to AC97
authorRene Herman <rene.herman@gmail.com>
Thu, 17 Jul 2008 12:02:16 +0000 (14:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 17 Jul 2008 12:29:55 +0000 (14:29 +0200)
communicate the ES137x PCI device to the AC97 code for its
subsys_vendor/device values

Signed-off-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ens1370.c

index 33032a73ecc88d8adb950211624a5540e0e0d7d3..9bf95367c882b4fbe80558f254aa2b45456f9646 100644 (file)
@@ -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;