Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH] ad1848 infinite loop fix
@ 2002-08-24 21:26 Gerald Teschl
  2002-08-25 10:59 ` Zwane Mwaikambo
  2002-08-25 11:29 ` Gerald Teschl
  0 siblings, 2 replies; 3+ messages in thread
From: Gerald Teschl @ 2002-08-24 21:26 UTC (permalink / raw)
  To: linux-sound


I think I found the problem which causes the infinite loop
when the activation fails:

--- linux-2.4.19/drivers/sound/ad1848.c.orig    Sat Aug 24 23:19:54 2002
+++ linux-2.4.19/drivers/sound/ad1848.c Sat Aug 24 23:20:58 2002
@@ -3058,7 +3058,7 @@
        else
                printk(KERN_INFO "ad1848: Failed to initialize %s\n", 
devname);

-       return 0;
+       return -ENODEV;
 }

 static int __init ad1848_isapnp_probe(struct address_info *hw_config)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-25 11:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-24 21:26 [PATCH] ad1848 infinite loop fix Gerald Teschl
2002-08-25 10:59 ` Zwane Mwaikambo
2002-08-25 11:29 ` Gerald Teschl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox