Messages in this thread Patch in this message | | | Date | Mon, 12 Mar 2001 10:01:11 +0100 | From | Marcus Meissner <> | Subject | PATCH: CS4281: missing pci_enable_dervice |
| |
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |