Commit 02ada9c1 authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] Suppress irq handler mismatch messages in ALSA ISA drivers

Suppress 'irq handler mismatch' messages at auto-probing of irqs
in ALSA ISA drivers.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent e217e30c
...@@ -62,7 +62,8 @@ static int snd_legacy_find_free_irq(int *irq_table) ...@@ -62,7 +62,8 @@ static int snd_legacy_find_free_irq(int *irq_table)
{ {
while (*irq_table != -1) { while (*irq_table != -1) {
if (!request_irq(*irq_table, snd_legacy_empty_irq_handler, 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); free_irq(*irq_table, (void *) irq_table);
return *irq_table; return *irq_table;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment