diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2011-01-25 11:18:27 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-31 07:27:20 +0100 |
commit | cc31b6f7949efd46c5f13d0758cf7b0bcb71fae2 (patch) | |
tree | baa26092f94a3240ed12f4fc43b994618a1202b1 /drivers/dma/ste_dma40.c | |
parent | dma40: unify d40_log_sg_to_lli funcs for mem and slave (diff) | |
download | linux-cc31b6f7949efd46c5f13d0758cf7b0bcb71fae2.tar.xz linux-cc31b6f7949efd46c5f13d0758cf7b0bcb71fae2.zip |
dma40: pass the info pointer all the way to reduce argument count
Acked-by: Per Forlin <per.forlin@stericsson.com>
Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ste_dma40.c')
-rw-r--r-- | drivers/dma/ste_dma40.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index c597dba713b0..3c61c582303d 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -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); |