* [PATCH] 1/11 sound/oss replace cli()
@ 2002-09-21 20:30 Peter Waechtler
2002-09-22 17:22 ` Linus Torvalds
0 siblings, 1 reply; 2+ messages in thread
From: Peter Waechtler @ 2002-09-21 20:30 UTC (permalink / raw)
To: linux-kernel; +Cc: Linus Torvalds
This is a resent with a correction of dmasound_q40.c - I don't touch the
IRQ handler anymore.
This one just needs a parameter to synchronize_irq(irq);
--- linux-2.5.36/sound/oss/cs4281/cs4281m.c 2002-09-21
19:02:02.000000000 +0200
+++ linux-2.5-cli-oss/sound/oss/cs4281/cs4281m.c 2002-08-10
17:13:46.000000000 +0200
@@ -3205,7 +3205,7 @@
"cs4281: cs4281_ioctl(): DSP_RESET\n"));
if (file->f_mode & FMODE_WRITE) {
stop_dac(s);
- synchronize_irq();
+ synchronize_irq(s->irq);
s->dma_dac.swptr = s->dma_dac.hwptr =
s->dma_dac.count = s->dma_dac.total_bytes =
s->dma_dac.blocks = s->dma_dac.wakeup = 0;
@@ -3213,7 +3213,7 @@
}
if (file->f_mode & FMODE_READ) {
stop_adc(s);
- synchronize_irq();
+ synchronize_irq(s->irq);
s->dma_adc.swptr = s->dma_adc.hwptr =
s->dma_adc.count = s->dma_adc.total_bytes =
s->dma_adc.blocks = s->dma_dac.wakeup = 0;
@@ -4452,7 +4452,7 @@
{
struct cs4281_state *s = pci_get_drvdata(pci_dev);
// stop DMA controller
- synchronize_irq();
+ synchronize_irq(s->irq);
free_irq(s->irq, s);
unregister_sound_dsp(s->dev_audio);
unregister_sound_mixer(s->dev_mixer);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-22 17:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-21 20:30 [PATCH] 1/11 sound/oss replace cli() Peter Waechtler
2002-09-22 17:22 ` Linus Torvalds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).