Commit 256de87c authored by Peter Wächtler's avatar Peter Wächtler Committed by Linus Torvalds

[PATCH] oss/rme96xx.c - convert cli to spinlocks

parent 8a8ce17b
......@@ -10,6 +10,7 @@
* 11 May 2001: 0.4 fixed for SMP, included into kernel source tree
* 17 May 2001: 0.5 draining code didn't work on new cards
* 18 May 2001: 0.6 remove synchronize_irq() call
* 10 Aug 2002: added synchronize_irq() again
TODO:
- test more than one card --- done
......@@ -41,6 +42,7 @@
#include <linux/delay.h>
#include <linux/slab.h>
#include <asm/dma.h>
#include <asm/hardirq.h>
#include <linux/init.h>
#include <linux/poll.h>
#include "rme96xx.h"
......@@ -786,8 +788,8 @@ static void __devinit rme96xx_remove(struct pci_dev *dev)
}
unregister_sound_mixer(s->mixer);
/* synchronize_irq(); This call got lost somehow ? */
free_irq(s->irq,s);
synchronize_irq(s->irq);
free_irq(s->irq,s);
busmaster_free(s->recbuf,RME96xx_DMA_MAX_SIZE_ALL);
busmaster_free(s->playbuf,RME96xx_DMA_MAX_SIZE_ALL);
kfree(s);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment