diff options
Diffstat (limited to 'drivers/dma/pch_dma.c')
-rw-r--r-- | drivers/dma/pch_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c index 65c0495a6d40..987ab5cd2617 100644 --- a/drivers/dma/pch_dma.c +++ b/drivers/dma/pch_dma.c | |||
@@ -621,7 +621,7 @@ static struct dma_async_tx_descriptor *pd_prep_slave_sg(struct dma_chan *chan, | |||
621 | goto err_desc_get; | 621 | goto err_desc_get; |
622 | 622 | ||
623 | desc->regs.dev_addr = reg; | 623 | desc->regs.dev_addr = reg; |
624 | desc->regs.mem_addr = sg_phys(sg); | 624 | desc->regs.mem_addr = sg_dma_address(sg); |
625 | desc->regs.size = sg_dma_len(sg); | 625 | desc->regs.size = sg_dma_len(sg); |
626 | desc->regs.next = DMA_DESC_FOLLOW_WITHOUT_IRQ; | 626 | desc->regs.next = DMA_DESC_FOLLOW_WITHOUT_IRQ; |
627 | 627 | ||