diff options
| -rw-r--r-- | sound/oss/vidc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/oss/vidc.c b/sound/oss/vidc.c index 725fef0f59a3..a4127bab9231 100644 --- a/sound/oss/vidc.c +++ b/sound/oss/vidc.c | |||
| @@ -363,13 +363,13 @@ static void vidc_audio_trigger(int dev, int enable_bits) | |||
| 363 | struct audio_operations *adev = audio_devs[dev]; | 363 | struct audio_operations *adev = audio_devs[dev]; |
| 364 | 364 | ||
| 365 | if (enable_bits & PCM_ENABLE_OUTPUT) { | 365 | if (enable_bits & PCM_ENABLE_OUTPUT) { |
| 366 | if (!(adev->flags & DMA_ACTIVE)) { | 366 | if (!(adev->dmap_out->flags & DMA_ACTIVE)) { |
| 367 | unsigned long flags; | 367 | unsigned long flags; |
| 368 | 368 | ||
| 369 | local_irq_save(flags); | 369 | local_irq_save(flags); |
| 370 | 370 | ||
| 371 | /* prevent recusion */ | 371 | /* prevent recusion */ |
| 372 | adev->flags |= DMA_ACTIVE; | 372 | adev->dmap_out->flags |= DMA_ACTIVE; |
| 373 | 373 | ||
| 374 | dma_interrupt = vidc_audio_dma_interrupt; | 374 | dma_interrupt = vidc_audio_dma_interrupt; |
| 375 | vidc_sound_dma_irq(0, NULL); | 375 | vidc_sound_dma_irq(0, NULL); |
