diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-25 13:29:54 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-02-20 15:27:00 +0100 |
commit | 82c5de0ab8dbd6035223ad69e76bd8a88a0a9399 (patch) | |
tree | 8401f73e927f3f7f9e93450f88c895243b41d911 /arch/arm/mach-imx/mach-mx31moboard.c | |
parent | dma-mapping: remove dma_mark_declared_memory_occupied (diff) | |
download | linux-82c5de0ab8dbd6035223ad69e76bd8a88a0a9399.tar.xz linux-82c5de0ab8dbd6035223ad69e76bd8a88a0a9399.zip |
dma-mapping: remove the DMA_MEMORY_EXCLUSIVE flag
All users of dma_declare_coherent want their allocations to be
exclusive, so default to exclusive allocations.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-mx31moboard.c')
-rw-r--r-- | arch/arm/mach-imx/mach-mx31moboard.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/mach-mx31moboard.c b/arch/arm/mach-imx/mach-mx31moboard.c index 643a3d749703..fe50f4cf00a7 100644 --- a/arch/arm/mach-imx/mach-mx31moboard.c +++ b/arch/arm/mach-imx/mach-mx31moboard.c @@ -475,8 +475,7 @@ static int __init mx31moboard_init_cam(void) ret = dma_declare_coherent_memory(&pdev->dev, mx3_camera_base, mx3_camera_base, - MX3_CAMERA_BUF_SIZE, - DMA_MEMORY_EXCLUSIVE); + MX3_CAMERA_BUF_SIZE); if (ret) goto err; |