From: Takashi Iwai Date: Fri, 23 Jun 2006 13:13:57 +0000 (+0200) Subject: [ALSA] Suppress irq handler mismatch messages in ALSA ISA drivers X-Git-Tag: MMI-PSA29.97-13-9~48727^2~18 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=02ada9c112eb00ecb9d2c04b6132f48ade534dbf;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [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: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/include/sound/initval.h b/include/sound/initval.h index d29e3d31d149..d45170b9e0b7 100644 --- a/include/sound/initval.h +++ b/include/sound/initval.h @@ -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; }