Commit 45d866e1 authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx

* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx:
  async_tx: fix the bug in async_tx_run_dependencies
parents 6f74b184 de24125d
...@@ -137,7 +137,8 @@ async_tx_run_dependencies(struct dma_async_tx_descriptor *tx) ...@@ -137,7 +137,8 @@ async_tx_run_dependencies(struct dma_async_tx_descriptor *tx)
spin_lock_bh(&next->lock); spin_lock_bh(&next->lock);
next->parent = NULL; next->parent = NULL;
_next = next->next; _next = next->next;
next->next = NULL; if (_next && _next->chan == chan)
next->next = NULL;
spin_unlock_bh(&next->lock); spin_unlock_bh(&next->lock);
next->tx_submit(next); next->tx_submit(next);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment