* PATCH: CS4281: missing pci_enable_dervice
@ 2001-03-12 9:01 Marcus Meissner
0 siblings, 0 replies; only message in thread
From: Marcus Meissner @ 2001-03-12 9:01 UTC (permalink / raw)
To: linux-kernel
Hi,
My Laptop has a CS4281 soundchip. It requires the following patch to start
working (enable pci device).
Ciao, Marcus
--- linux/drivers/sound/cs4281/cs4281m.c.marcus Mon Mar 12 09:55:35 2001
+++ linux/drivers/sound/cs4281/cs4281m.c Mon Mar 12 09:55:57 2001
@@ -4289,6 +4289,9 @@
CS_DBGOUT(CS_FUNCTION | CS_INIT, 2,
printk(KERN_INFO "cs4281: probe()+\n"));
+ if (pci_enable_device(pcidev))
+ return -1;
+
if (!RSRCISMEMORYREGION(pcidev, 0) ||
!RSRCISMEMORYREGION(pcidev, 1)) {
CS_DBGOUT(CS_ERROR, 1, printk(KERN_ERR
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-12 9:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-12 9:01 PATCH: CS4281: missing pci_enable_dervice Marcus Meissner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).