diff options
| author | Takashi Iwai <[email protected]> | 2014-10-13 21:18:02 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2014-10-14 07:18:02 +0000 |
| commit | 95926035b187cc9fee6fb61385b7da9c28123f74 (patch) | |
| tree | 06f381609dd013ede40038643916a0d5deade923 /drivers/net/xen-netback/interface.c | |
| parent | ALSA: pcm: Fix referred substream in snd_pcm_action_group() unlock loop (diff) | |
| download | kernel-95926035b187cc9fee6fb61385b7da9c28123f74.tar.gz kernel-95926035b187cc9fee6fb61385b7da9c28123f74.zip | |
ALSA: emu10k1: Fix deadlock in synth voice lookup
The emu10k1 voice allocator takes voice_lock spinlock. When there is
no empty stream available, it tries to release a voice used by synth,
and calls get_synth_voice. The callback function,
snd_emu10k1_synth_get_voice(), however, also takes the voice_lock,
thus it deadlocks.
The fix is simply removing the voice_lock holds in
snd_emu10k1_synth_get_voice(), as this is always called in the
spinlock context.
Reported-and-tested-by: Arthur Marsh <[email protected]>
Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
