2002-09-22 09:06:46

by Peter Waechtler

[permalink] [raw]
Subject: [PATCH] 1/11 sound/oss replace cli()

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);


2002-09-22 17:16:01

by Linus Torvalds

[permalink] [raw]
Subject: Re: [PATCH] 1/11 sound/oss replace cli()


On Sat, 21 Sep 2002, Peter Waechtler wrote:
>
> This is a resent with a correction of dmasound_q40.c - I don't touch the
> IRQ handler anymore.

All of your patches are seriously whitespace-damaged: lines word-wrapped,
whitespace at end-of-line removed etc etc.

Either your mail script is broken again, or Apple Mail is crud.

Linus