mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH] OOPS in i810_audio during resume
       [not found] <linux.kernel.12220000.1004834654@araucaria.SOMEWHERE>
@ 2001-11-20 18:02 ` Marty Pauley
  0 siblings, 0 replies; only message in thread
From: Marty Pauley @ 2001-11-20 18:02 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-20 18:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <linux.kernel.12220000.1004834654@araucaria.SOMEWHERE>
2001-11-20 18:02 ` [PATCH] OOPS in i810_audio during resume Marty Pauley

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®