]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit0cd6156177a10d39fb5811bcd23e1d3b7e58f1c0
tree882750c60c5a5f094594a2289ae063665f4891d9
parentb721f9e800571ca724eed6f1956e58e8f1d47d7d
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