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

Collapse All | Expand All

(-)alsa-driver-1.0.4.orig/alsa-kernel/pci/ac97/ac97_codec.c (-3 / +3 lines)
Lines 1808-1816 Link Here
1808
1808
1809
	if (!ac97_is_audio(ac97) && !ac97_is_modem(ac97)) {
1809
	if (!ac97_is_audio(ac97) && !ac97_is_modem(ac97)) {
1810
		if (!(ac97->scaps & (AC97_SCAP_SKIP_AUDIO|AC97_SCAP_SKIP_MODEM)))
1810
		if (!(ac97->scaps & (AC97_SCAP_SKIP_AUDIO|AC97_SCAP_SKIP_MODEM)))
1811
			snd_printk(KERN_ERR "AC'97 %d access error (not audio or modem codec)\n", ac97->num);
1811
			snd_printk(KERN_ERR "AC'97 %d access error (not audio or modem codec: %04x)\n", ac97->num,ac97->scaps);
1812
		snd_ac97_free(ac97);
1812
		//snd_ac97_free(ac97);
1813
		return -EACCES;
1813
		//return -EACCES;
1814
	}
1814
	}
1815
1815
1816
	if (bus->reset) // FIXME: always skipping?
1816
	if (bus->reset) // FIXME: always skipping?

Return to bug 47166