From: Marty Pauley <kernel@kasei.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] OOPS in i810_audio during resume
Date: Tue, 20 Nov 2001 18:02:31 +0000 [thread overview]
Message-ID: <20011120180231.A20222@soto.kasei.com> (raw)
In-Reply-To: <linux.kernel.12220000.1004834654@araucaria.SOMEWHERE>
In-Reply-To: <linux.kernel.12220000.1004834654@araucaria.SOMEWHERE>
Hello
When resuming from APM suspend with the i810_audio loaded I got an OOPS that
killed apmd. This simple patch stops the OOPS (so APM keeps working) but it
doesn't solve the problem.
'codec' is null is because it previously failed to initialise in
i810_ac97_init: i810_ac97_probe_and_powerup fails for the second codec; Alex
Bligh mentioned this a few weeks ago.
--- /usr/src/linux/drivers/sound/i810_audio.c.orig Thu Nov 15 01:38:31 2001
+++ /usr/src/linux/drivers/sound/i810_audio.c Thu Nov 15 01:45:07 2001
@@ -2873,6 +2873,10 @@
if(!i810_ac97_exists(card,num_ac97)) {
if(num_ac97) continue;
else BUG();
+ }
+ if(!codec) {
+ printk("i810_audio: cannot resume null codec %d\n", num_ac97);
+ continue;
}
if(!i810_ac97_probe_and_powerup(card,codec)) BUG();
--
Marty
parent reply other threads:[~2001-11-20 18:02 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <linux.kernel.12220000.1004834654@araucaria.SOMEWHERE>]
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=20011120180231.A20222@soto.kasei.com \
--to=kernel@kasei.com \
--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
all inboxes | Powered by JetHome®