[PATCH] 36/41 sound/oss/trident.c - convert cli to spinlocks

From: pwaechtler@mac.com
Date: Thu Aug 29 2002 - 14:56:27 EST


--- 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/



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:28 EST