patch-2.1.90 linux/drivers/sound/pas2_card.c
Next file: linux/drivers/sound/pss.c
Previous file: linux/drivers/sound/opl3.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Mar 12 10:52:09 1998
- Orig file:
v2.1.89/linux/drivers/sound/pas2_card.c
- Orig date:
Tue Jan 20 16:44:57 1998
diff -u --recursive --new-file v2.1.89/linux/drivers/sound/pas2_card.c linux/drivers/sound/pas2_card.c
@@ -164,7 +164,7 @@
}
else
{
- if (snd_set_irq_handler(pas_irq, pasintr, "PAS16", hw_config->osp) < 0)
+ if (request_irq(pas_irq, pasintr, "PAS16", 0, NULL) < 0)
ok = 0;
}
}
@@ -355,7 +355,7 @@
unload_pas(struct address_info *hw_config)
{
sound_free_dma(hw_config->dma);
- snd_release_irq(hw_config->irq);
+ free_irq(hw_config->irq, NULL);
}
#ifdef MODULE
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov