patch-2.1.129 linux/drivers/sound/ad1848.c
Next file: linux/drivers/sound/dmasound.c
Previous file: linux/drivers/sound/Makefile
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Nov 13 10:29:44 1998
- Orig file:
v2.1.128/linux/drivers/sound/ad1848.c
- Orig date:
Thu Nov 12 16:21:21 1998
diff -u --recursive --new-file v2.1.128/linux/drivers/sound/ad1848.c linux/drivers/sound/ad1848.c
@@ -1934,7 +1934,7 @@
if (!share_dma)
{
- if (irq > 0)
+ if (devc->irq > 0) /* There is no point in freeing irq, if it wasn't allocated */
free_irq(devc->irq, (void *)devc->dev_no);
sound_free_dma(audio_devs[dev]->dmap_out->dma);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov