Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308054
b: refs/heads/master
c: cbb796c
h: refs/heads/master
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Vinod Koul committed May 11, 2012
1 parent a64fd05 commit b9be240
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 12366ad91adb41a193f93b3b0f2829ea06df1773
refs/heads/master: cbb796ccd8c33c50249b876d9773dfa8e67d39cb
4 changes: 2 additions & 2 deletions trunk/drivers/dma/amba-pl08x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1382,11 +1382,11 @@ static struct dma_async_tx_descriptor *pl08x_prep_slave_sg(

dsg->len = sg_dma_len(sg);
if (direction == DMA_MEM_TO_DEV) {
dsg->src_addr = sg_phys(sg);
dsg->src_addr = sg_dma_address(sg);
dsg->dst_addr = slave_addr;
} else {
dsg->src_addr = slave_addr;
dsg->dst_addr = sg_phys(sg);
dsg->dst_addr = sg_dma_address(sg);
}
}

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/dma/coh901318_lli.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,10 @@ coh901318_lli_fill_sg(struct coh901318_pool *pool,

if (dir == DMA_MEM_TO_DEV)
/* increment source address */
src = sg_phys(sg);
src = sg_dma_address(sg);
else
/* increment destination address */
dst = sg_phys(sg);
dst = sg_dma_address(sg);

bytes_to_transfer = sg_dma_len(sg);

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/dma/dw_dmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ dwc_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
struct dw_desc *desc;
u32 len, dlen, mem;

mem = sg_phys(sg);
mem = sg_dma_address(sg);
len = sg_dma_len(sg);

if (!((mem | len) & 7))
Expand Down Expand Up @@ -810,7 +810,7 @@ dwc_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
struct dw_desc *desc;
u32 len, dlen, mem;

mem = sg_phys(sg);
mem = sg_dma_address(sg);
len = sg_dma_len(sg);

if (!((mem | len) & 7))
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/dma/intel_mid_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ static int midc_lli_fill_sg(struct intel_mid_dma_chan *midc,
desc->width,
midc->dma->block_size);
/*Populate SAR and DAR values*/
sg_phy_addr = sg_phys(sg);
sg_phy_addr = sg_dma_address(sg);
if (desc->dirn == DMA_MEM_TO_DEV) {
lli_bloc_desc->sar = sg_phy_addr;
lli_bloc_desc->dar = mids->dma_slave.dst_addr;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/dma/pch_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ static struct dma_async_tx_descriptor *pd_prep_slave_sg(struct dma_chan *chan,
goto err_desc_get;

desc->regs.dev_addr = reg;
desc->regs.mem_addr = sg_phys(sg);
desc->regs.mem_addr = sg_dma_address(sg);
desc->regs.size = sg_dma_len(sg);
desc->regs.next = DMA_DESC_FOLLOW_WITHOUT_IRQ;

Expand Down

0 comments on commit b9be240

Please sign in to comment.