Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119961
b: refs/heads/master
c: b0b42b1
h: refs/heads/master
i:
  119959: f4fe300
v: v3
  • Loading branch information
Dan Williams committed Dec 4, 2008
1 parent 2f0c187 commit 923b78b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 532d3b1f86f41834a25373e3ded981d68e4ce17f
refs/heads/master: b0b42b16ff2b90f17bc1a4308366c9beba4b276e
3 changes: 3 additions & 0 deletions trunk/drivers/dma/dmaengine.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,10 @@ int dma_async_device_register(struct dma_device *device)

init_completion(&device->done);
kref_init(&device->refcount);

mutex_lock(&dma_list_mutex);
device->dev_id = id++;
mutex_unlock(&dma_list_mutex);

/* represent channels in sysfs. Probably want devs too */
list_for_each_entry(chan, &device->channels, device_node) {
Expand Down

0 comments on commit 923b78b

Please sign in to comment.