diff options
-rw-r--r-- | sound/core/pcm_native.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index 42a039cc50a8..a96733a5beb8 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c | |||
@@ -718,7 +718,8 @@ static int snd_pcm_action_group(struct action_ops *ops, | |||
718 | 718 | ||
719 | snd_pcm_group_for_each_entry(s, substream) { | 719 | snd_pcm_group_for_each_entry(s, substream) { |
720 | if (do_lock && s != substream) | 720 | if (do_lock && s != substream) |
721 | spin_lock(&s->self_group.lock); | 721 | spin_lock_nested(&s->self_group.lock, |
722 | SINGLE_DEPTH_NESTING); | ||
722 | res = ops->pre_action(s, state); | 723 | res = ops->pre_action(s, state); |
723 | if (res < 0) | 724 | if (res < 0) |
724 | goto _unlock; | 725 | goto _unlock; |