[PATCH] ad1848.c: include missing restore_flags

Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Tue, 9 Jan 2001 09:18:08 -0200


Alan,

Please apply.

- Arnaldo

--- linux-2.4.0-ac4/drivers/sound/ad1848.c Thu Aug 24 07:40:05 2000
+++ linux-2.4.0-ac4.acme/drivers/sound/ad1848.c Tue Jan 9 08:55:58 2001
@@ -28,6 +28,7 @@
* of irqs. Use dev_id.
* Christoph Hellwig : adapted to module_init/module_exit
* Aki Laukkanen : added power management support
+ * Arnaldo C. de Melo : added missing restore_flags in ad1848_resume
*
* Status:
* Tested. Believed fully functional.
@@ -2751,6 +2752,7 @@
bits = interrupt_bits[devc->irq];
if (bits == -1) {
printk(KERN_ERR "MSS: Bad IRQ %d\n", devc->irq);
+ restore_flags(flags);
return -1;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/