summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-07-14 16:40:35 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-07-24 20:35:27 -0700
commitb66a64d8fa30e003494040d4a7eb6587fa3fffcc (patch)
tree659a24c21903046925e1119c3e631ca79b98fea8
parent7c7b60b196c9fd91425cb801ad3f317961310c12 (diff)
downloadlinux-stable-b66a64d8fa30e003494040d4a7eb6587fa3fffcc.tar.gz
linux-stable-b66a64d8fa30e003494040d4a7eb6587fa3fffcc.tar.bz2
linux-stable-b66a64d8fa30e003494040d4a7eb6587fa3fffcc.zip
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 <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--include/sound/initval.h3
1 files changed, 2 insertions, 1 deletions
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;
}