[I810_AUDIO] 11/x: Fix dead lock in drain_dac
diff mbox series

Message ID 20040117035817.GA21455@gondor.apana.org.au
State New, archived
Headers show
Series
  • [I810_AUDIO] 11/x: Fix dead lock in drain_dac
Related show

Commit Message

Herbert Xu Jan. 17, 2004, 3:58 a.m. UTC
This patch fixes a typo in a previous change that causes the driver
to deadlock under SMP.

Patch
diff mbox series

Index: kernel-2.4/drivers/sound/i810_audio.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.4/drivers/sound/i810_audio.c,v
retrieving revision 1.19
diff -u -r1.19 i810_audio.c
--- kernel-2.4/drivers/sound/i810_audio.c	29 Nov 2003 09:53:43 -0000	1.19
+++ kernel-2.4/drivers/sound/i810_audio.c	16 Jan 2004 22:49:54 -0000
@@ -1260,7 +1260,7 @@ 
 	 * any possible deadlocks.
 	 */
 	dmabuf->trigger = PCM_ENABLE_OUTPUT;
-	i810_update_lvi(state, 0);
+	__i810_update_lvi(state, 0);
 
 	spin_unlock_irqrestore(&state->card->lock, flags);