]> 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:03:02 +0000 (10:03 -0700)
commit73cb40932358f82d55117a70a0d38026923e823f
treeb52988c58e623aebecb1eee017245a2ad80e8eed
parent16642956664f3e93c88e9e2a22713d5456568822
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