[ALSA] Suppress irq handler mismatch messages in ALSA ISA drivers
authorTakashi Iwai <tiwai@suse.de>
Fri, 23 Jun 2006 13:13:57 +0000 (15:13 +0200)
committerJaroslav Kysela <perex@suse.cz>
Wed, 28 Jun 2006 17:30:42 +0000 (19:30 +0200)
Suppress 'irq handler mismatch' messages at auto-probing of irqs
in ALSA ISA drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
include/sound/initval.h

index d29e3d31d149eb7f2c46946046c8279e8a7914b8..d45170b9e0b70add3d0b7483a2341477036a9ac6 100644 (file)
@@ -62,7 +62,8 @@ static int snd_legacy_find_free_irq(int *irq_table)
 {
        while (*irq_table != -1) {
                if (!request_irq(*irq_table, snd_legacy_empty_irq_handler,
-                                SA_INTERRUPT, "ALSA Test IRQ", (void *) irq_table)) {
+                                SA_INTERRUPT | SA_PROBEIRQ, "ALSA Test IRQ",
+                                (void *) irq_table)) {
                        free_irq(*irq_table, (void *) irq_table);
                        return *irq_table;
                }