mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 01:23:20 +00:00
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
This commit is contained in:
commit
45d866e1a0
@ -137,6 +137,7 @@ 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;
|
||||||
|
if (_next && _next->chan == chan)
|
||||||
next->next = NULL;
|
next->next = NULL;
|
||||||
spin_unlock_bh(&next->lock);
|
spin_unlock_bh(&next->lock);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user