]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/dma/ste_dma40.c
dma40: pass the info pointer all the way to reduce argument count
[mirror_ubuntu-artful-kernel.git] / drivers / dma / ste_dma40.c
index c597dba713b00587a8c67d87af30db92755dfe48..3c61c582303d872a8f2738e177c6b2285b770790 100644 (file)
@@ -1679,17 +1679,13 @@ d40_prep_sg_phy(struct d40_chan *chan, struct d40_desc *desc,
                                desc->lli_phy.src,
                                virt_to_phys(desc->lli_phy.src),
                                chan->src_def_cfg,
-                               src_info->data_width,
-                               dst_info->data_width,
-                               src_info->psize);
+                               src_info, dst_info);
 
        ret = d40_phy_sg_to_lli(sg_dst, sg_len, dst_dev_addr,
                                desc->lli_phy.dst,
                                virt_to_phys(desc->lli_phy.dst),
                                chan->dst_def_cfg,
-                               dst_info->data_width,
-                               src_info->data_width,
-                               dst_info->psize);
+                               dst_info, src_info);
 
        dma_sync_single_for_device(chan->base->dev, desc->lli_pool.dma_addr,
                                   desc->lli_pool.size, DMA_TO_DEVICE);