]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmaengine: sirf: fix a typo in moving running dma_desc to active queue
authorBarry Song <Baohua.Song@csr.com>
Thu, 27 Sep 2012 08:36:10 +0000 (16:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:10:21 +0000 (10:10 -0700)
commit7a263f0c7f4acdb1b58cf0e59e6a941b819bd550
tree59cd6320d8d353d90c91f965a28b2e33eb5f4d49
parent4853c29c3cd5e7d5ea41bc5edd50e16b1882c294
dmaengine: sirf: fix a typo in moving running dma_desc to active queue

commit 26fd12209c08fe947be1828896ef4ffc5bd0e6df upstream.

list_move_tail(&schan->queued, &schan->active) makes the list_empty(schan->queued)
undefined, we either should change it to:
list_move_tail(schan->queued.next, &schan->active)
or
list_move_tail(&sdesc->node, &schan->active)

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma/sirf-dma.c