]> 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)
commit0c8428290921ae3eeb0656bb26fa8415bd929980
treebf0b97c55ae7b67339a7116f13097c741e9c9918
parent444558ff0494b76f544aa1a93ed0d4d5ea2d4097
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