]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/dma/omap-dma.c
dmaengine: omap-dma: Use pointer to omap_sg in slave_sg setup's loop
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 20 Jul 2016 08:50:31 +0000 (11:50 +0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 10 Aug 2016 17:29:12 +0000 (22:59 +0530)
commitcb7958dfa9bc4a69f94eaa8bbc9d21a291a2a560
tree56ca4256047079d3f3f6a7d6f381a3608bd2e1a5
parent3c9b833f5bfff704b805f31e818d6be8b804955f
dmaengine: omap-dma: Use pointer to omap_sg in slave_sg setup's loop

Instead of accessing the array via index, take the pointer first and use
it to set up the omap_sg struct.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/omap-dma.c