Skip to content

Commit

Permalink
[ALSA] Suppress irq handler mismatch messages in ALSA ISA drivers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jun 28, 2006
1 parent e217e30 commit 02ada9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/sound/initval.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 02ada9c

Please sign in to comment.