summaryrefslogtreecommitdiff
path: root/include/sound/initval.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-06-23 15:13:57 +0200
committerJaroslav Kysela <perex@suse.cz>2006-06-28 19:30:42 +0200
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)
{
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;
}