ALSA: seq: Fix nested rwsem annotation for lockdep splat
[pandora-kernel.git] / sound / core / seq / seq_clientmgr.c
index 7b5a790..c789f91 100644 (file)
@@ -676,7 +676,7 @@ static int deliver_to_subscribers(struct snd_seq_client *client,
        if (atomic)
                read_lock(&grp->list_lock);
        else
-               down_read(&grp->list_mutex);
+               down_read_nested(&grp->list_mutex, hop);
        list_for_each_entry(subs, &grp->list_head, src_list) {
                /* both ports ready? */
                if (atomic_read(&subs->ref_count) != 2)