Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 272100 | Differences between
and this patch

Collapse All | Expand All

(-)device.c (-1 / +2 lines)
Lines 1660-1666 static int snd_hdj_chip_create(struct us Link Here
1660
		/* let the kernel option override custom id */
1660
		/* let the kernel option override custom id */
1661
		strncpy(card_id,id[idx],sizeof(card_id)-1);
1661
		strncpy(card_id,id[idx],sizeof(card_id)-1);
1662
	}
1662
	}
1663
	card = snd_card_new(index[idx], card_id/*id[idx]*/, THIS_MODULE, 0);
1663
	//card = snd_card_new(index[idx], card_id/*id[idx]*/, THIS_MODULE, 0);
1664
	snd_card_create(index[idx], card_id/*id[idx]*/, THIS_MODULE, 0, &card);
1664
	if (card == NULL) {
1665
	if (card == NULL) {
1665
		snd_printk(KERN_WARNING "snd_hdj_chip_create(): cannot create card instance %d\n", idx);
1666
		snd_printk(KERN_WARNING "snd_hdj_chip_create(): cannot create card instance %d\n", idx);
1666
		return -ENOMEM;
1667
		return -ENOMEM;

Return to bug 272100