aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/fsldma.c
diff options
context:
space:
mode:
authorLi Yang <leoli@freescale.com>2010-11-11 07:16:29 -0500
committerDan Williams <dan.j.williams@intel.com>2010-12-03 17:02:45 -0500
commite2c8e425baa01a4c8e6ae1b90194ed3d3cde0c66 (patch)
treecb35b0e102d0207c42d65e88f78352dc8199f43e /drivers/dma/fsldma.c
parente8a7e48bb248a1196484d3f8afa53bded2b24e71 (diff)
fsldma: add support to 36-bit physical address
Expand the dma_mask of fsldma device to 36-bit, indicating that the DMA engine can deal with 36-bit physical address and does not need the SWIOTLB to create bounce buffer for it when doing dma_map_*(). Signed-off-by: Li Yang <leoli@freescale.com> Acked-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/fsldma.c')
-rw-r--r--drivers/dma/fsldma.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c
index 286c3ac6bdc..531230b8797 100644
--- a/drivers/dma/fsldma.c
+++ b/drivers/dma/fsldma.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * Freescale MPC85xx, MPC83xx DMA Engine support 2 * Freescale MPC85xx, MPC83xx DMA Engine support
3 * 3 *
4 * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. 4 * Copyright (C) 2007-2010 Freescale Semiconductor, Inc. All rights reserved.
5 * 5 *
6 * Author: 6 * Author:
7 * Zhang Wei <wei.zhang@freescale.com>, Jul 2007 7 * Zhang Wei <wei.zhang@freescale.com>, Jul 2007
@@ -1322,6 +1322,8 @@ static int __devinit fsldma_of_probe(struct platform_device *op,
1322 fdev->common.device_control = fsl_dma_device_control; 1322 fdev->common.device_control = fsl_dma_device_control;
1323 fdev->common.dev = &op->dev; 1323 fdev->common.dev = &op->dev;
1324 1324
1325 dma_set_mask(&(op->dev), DMA_BIT_MASK(36));
1326
1325 dev_set_drvdata(&op->dev, fdev); 1327 dev_set_drvdata(&op->dev, fdev);
1326 1328
1327 /* 1329 /*