Messages in this thread Patch in this message |  | | Date | Thu, 29 Aug 2002 21:56:27 +0200 | Subject | [PATCH] 36/41 sound/oss/trident.c - convert cli to spinlocks | From | pwaechtler@mac ... |
| |
--- vanilla-2.5.32/sound/oss/trident.c Sat Aug 10 00:10:57 2002 +++ linux-2.5-cli-oss/sound/oss/trident.c Sat Aug 10 17:04:38 2002 @@ -2150,14 +2150,14 @@ /* FIXME: spin_lock ? */ if (file->f_mode & FMODE_WRITE) { stop_dac(state); - synchronize_irq(); + synchronize_irq(card->irq); dmabuf->ready = 0; dmabuf->swptr = dmabuf->hwptr = 0; dmabuf->count = dmabuf->total_bytes = 0; } if (file->f_mode & FMODE_READ) { stop_adc(state); - synchronize_irq(); + synchronize_irq(card->irq); dmabuf->ready = 0; dmabuf->swptr = dmabuf->hwptr = 0; dmabuf->count = dmabuf->total_bytes = 0; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |