Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=682fc0... Commit: 682fc0a5fe1a309a9a1860a0d50a2c6977d961cd Parent: 3d3909ffe57174ee10a2ba2cdd75a7c7383f1983 Author: Takashi Iwai <tiwai@suse.de> AuthorDate: Mon Nov 26 08:45:43 2007 +0100 Committer: Jaroslav Kysela <perex@perex.cz> CommitDate: Thu Jan 31 17:29:29 2008 +0100 [ALSA] emu10k1x - Add missing snd_card_set_dev call Added the missing snd_card_set_dev() call. This will fix the incomplete sysfs entry for this card. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz> --- sound/pci/emu10k1/emu10k1x.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/sound/pci/emu10k1/emu10k1x.c b/sound/pci/emu10k1/emu10k1x.c index 1ec7eba..0030d8b 100644 --- a/sound/pci/emu10k1/emu10k1x.c +++ b/sound/pci/emu10k1/emu10k1x.c @@ -1583,6 +1583,8 @@ static int __devinit snd_emu10k1x_probe(struct pci_dev *pci, sprintf(card->longname, "%s at 0x%lx irq %i", card->shortname, chip->port, chip->irq); + snd_card_set_dev(card, &pci->dev); + if ((err = snd_card_register(card)) < 0) { snd_card_free(card); return err; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
