]> git.baikalelectronics.ru Git - kernel.git/commit
dma: mmp_pdma: don't clear DCMD_ENDIRQEN at end of pending chain
authorDaniel Mack <zonque@gmail.com>
Wed, 21 Aug 2013 12:08:55 +0000 (14:08 +0200)
committerVinod Koul <vinod.koul@intel.com>
Sun, 25 Aug 2013 16:34:52 +0000 (22:04 +0530)
commit4bef61b23c01df807afa22e85bac9a7909eaa769
tree882750c60c5a5f094594a2289ae063665f4891d9
parentaec0795fbbee4ef297bbd41d2053b1c872508ea7
dma: mmp_pdma: don't clear DCMD_ENDIRQEN at end of pending chain

In order to fully support multiple transactions per channel, we need to
assure we get an interrupt for each completed transaction. That flags
bit is also our only way to tell at which descriptor a transaction ends.

So, remove the manual clearing of that bit, and then inline the only
remaining command that is left in append_pending_queue() for better
readability.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mmp_pdma.c