diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-09-10 05:32:52 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-10 05:32:52 -0400 |
commit | e92b4fdacc6a7d8cc7895b81347671d5fcd6c5e1 (patch) | |
tree | 4f84567261682d8ec2ad4102bce1ff970a6eed1a /crypto/async_tx/async_tx.c | |
parent | 9fcaff0e660d886e9a766460adbe558dd25de31b (diff) | |
parent | adee14b2e1557d0a8559f29681732d05a89dfc35 (diff) |
Merge commit 'v2.6.27-rc6' into x86/iommu
Diffstat (limited to 'crypto/async_tx/async_tx.c')
-rw-r--r-- | crypto/async_tx/async_tx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/async_tx/async_tx.c b/crypto/async_tx/async_tx.c index 85eaf7b1c531..e8362c1efa30 100644 --- a/crypto/async_tx/async_tx.c +++ b/crypto/async_tx/async_tx.c | |||
@@ -137,7 +137,8 @@ async_tx_run_dependencies(struct dma_async_tx_descriptor *tx) | |||
137 | spin_lock_bh(&next->lock); | 137 | spin_lock_bh(&next->lock); |
138 | next->parent = NULL; | 138 | next->parent = NULL; |
139 | _next = next->next; | 139 | _next = next->next; |
140 | next->next = NULL; | 140 | if (_next && _next->chan == chan) |
141 | next->next = NULL; | ||
141 | spin_unlock_bh(&next->lock); | 142 | spin_unlock_bh(&next->lock); |
142 | 143 | ||
143 | next->tx_submit(next); | 144 | next->tx_submit(next); |