aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/initval.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-06-23 09:13:57 -0400
committerJaroslav Kysela <perex@suse.cz>2006-06-28 13:30:42 -0400
commit02ada9c112eb00ecb9d2c04b6132f48ade534dbf (patch)
tree91560ef758b2301e5fbecefb92b3ed4958113d52 /include/sound/initval.h
parente217e30c359edafce3225d2c4fbbda06ae5a408b (diff)
[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 <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'include/sound/initval.h')
-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)
62{ 62{
63 while (*irq_table != -1) { 63 while (*irq_table != -1) {
64 if (!request_irq(*irq_table, snd_legacy_empty_irq_handler, 64 if (!request_irq(*irq_table, snd_legacy_empty_irq_handler,
65 SA_INTERRUPT, "ALSA Test IRQ", (void *) irq_table)) { 65 SA_INTERRUPT | SA_PROBEIRQ, "ALSA Test IRQ",
66 (void *) irq_table)) {
66 free_irq(*irq_table, (void *) irq_table); 67 free_irq(*irq_table, (void *) irq_table);
67 return *irq_table; 68 return *irq_table;
68 } 69 }