Commit d75705b8 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller

[sound/oss i810] fix deadlock in drain_dac

This patch fixes a typo in a previous change that causes the driver
to deadlock under SMP.
parent ee2dfacc
...@@ -1271,7 +1271,7 @@ static int drain_dac(struct i810_state *state, int signals_allowed) ...@@ -1271,7 +1271,7 @@ static int drain_dac(struct i810_state *state, int signals_allowed)
* any possible deadlocks. * any possible deadlocks.
*/ */
dmabuf->trigger = PCM_ENABLE_OUTPUT; dmabuf->trigger = PCM_ENABLE_OUTPUT;
i810_update_lvi(state, 0); __i810_update_lvi(state, 0);
spin_unlock_irqrestore(&state->card->lock, flags); spin_unlock_irqrestore(&state->card->lock, flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment