diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2011-01-25 05:18:27 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-31 01:27:20 -0500 |
commit | cc31b6f7949efd46c5f13d0758cf7b0bcb71fae2 (patch) | |
tree | baa26092f94a3240ed12f4fc43b994618a1202b1 /drivers/dma/ste_dma40.c | |
parent | 5ed04b8575cb22920b1333aeb55121339449048f (diff) |
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 c597dba713b..3c61c582303 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, | |||
1679 | desc->lli_phy.src, | 1679 | desc->lli_phy.src, |
1680 | virt_to_phys(desc->lli_phy.src), | 1680 | virt_to_phys(desc->lli_phy.src), |
1681 | chan->src_def_cfg, | 1681 | chan->src_def_cfg, |
1682 | src_info->data_width, | 1682 | src_info, dst_info); |
1683 | dst_info->data_width, | ||
1684 | src_info->psize); | ||
1685 | 1683 | ||
1686 | ret = d40_phy_sg_to_lli(sg_dst, sg_len, dst_dev_addr, | 1684 | ret = d40_phy_sg_to_lli(sg_dst, sg_len, dst_dev_addr, |
1687 | desc->lli_phy.dst, | 1685 | desc->lli_phy.dst, |
1688 | virt_to_phys(desc->lli_phy.dst), | 1686 | virt_to_phys(desc->lli_phy.dst), |
1689 | chan->dst_def_cfg, | 1687 | chan->dst_def_cfg, |
1690 | dst_info->data_width, | 1688 | dst_info, src_info); |
1691 | src_info->data_width, | ||
1692 | dst_info->psize); | ||
1693 | 1689 | ||
1694 | dma_sync_single_for_device(chan->base->dev, desc->lli_pool.dma_addr, | 1690 | dma_sync_single_for_device(chan->base->dev, desc->lli_pool.dma_addr, |
1695 | desc->lli_pool.size, DMA_TO_DEVICE); | 1691 | desc->lli_pool.size, DMA_TO_DEVICE); |