Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31833
b: refs/heads/master
c: d8371f0
h: refs/heads/master
i:
  31831: 1d0c2dd
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Jul 3, 2006
1 parent ffacfa2 commit 9539889
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e7795ef6b5fd117b22b87ea7d501de2526a25f7
refs/heads/master: d8371f0481fd1ad2701081d37815b0bb5d236b92
4 changes: 2 additions & 2 deletions trunk/sound/core/seq/seq_ports.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ int snd_seq_port_connect(struct snd_seq_client *connector,
atomic_set(&subs->ref_count, 2);

down_write(&src->list_mutex);
down_write(&dest->list_mutex);
down_write_nested(&dest->list_mutex, SINGLE_DEPTH_NESTING);

exclusive = info->flags & SNDRV_SEQ_PORT_SUBS_EXCLUSIVE ? 1 : 0;
err = -EBUSY;
Expand Down Expand Up @@ -587,7 +587,7 @@ int snd_seq_port_disconnect(struct snd_seq_client *connector,
unsigned long flags;

down_write(&src->list_mutex);
down_write(&dest->list_mutex);
down_write_nested(&dest->list_mutex, SINGLE_DEPTH_NESTING);

/* look for the connection */
list_for_each(p, &src->list_head) {
Expand Down

0 comments on commit 9539889

Please sign in to comment.