]> git.baikalelectronics.ru Git - kernel.git/commit
DMA: shdma: tidyup callback chunk finder
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 3 Apr 2014 03:16:51 +0000 (20:16 -0700)
committerVinod Koul <vinod.koul@intel.com>
Fri, 2 May 2014 16:17:01 +0000 (21:47 +0530)
commit57d3b91059e5e4fba2a7f953c287bac98215c824
treebf0b97c55ae7b67339a7116f13097c741e9c9918
parentb52314efc0f65491d794bc5fc950ec022962fd52
DMA: shdma: tidyup callback chunk finder

Current shdma is using "last" which indicates last desc which needs to have
callback function. But that desc's chunks is always 1, we can use it as finder

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
[reflown changelog for readablity]
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/shdma-base.c