From: Marcus Meissner <Marcus.Meissner@caldera.de>
To: linux-kernel@vger.kernel.org
Subject: PATCH: CS4281: missing pci_enable_dervice
Date: Mon, 12 Mar 2001 10:01:11 +0100 [thread overview]
Message-ID: <20010312100111.A16107@caldera.de> (raw)
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
reply other threads:[~2001-03-12 9:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010312100111.A16107@caldera.de \
--to=marcus.meissner@caldera.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox