summaryrefslogtreecommitdiffstats
path: root/include
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
parent[ALSA] usb-audio support for Turtle Beach Roadie (diff)
downloadlinux-02ada9c112eb00ecb9d2c04b6132f48ade534dbf.tar.xz
linux-02ada9c112eb00ecb9d2c04b6132f48ade534dbf.zip
[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')
-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;
}