summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-tmio.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-25 15:29:54 +0300
committerChristoph Hellwig <hch@lst.de>2019-02-20 17:27:00 +0300
commit82c5de0ab8dbd6035223ad69e76bd8a88a0a9399 (patch)
tree8401f73e927f3f7f9e93450f88c895243b41d911 /drivers/usb/host/ohci-tmio.c
parent91a6fda95cb67c94b887355690d1923a7eb6f630 (diff)
downloadlinux-82c5de0ab8dbd6035223ad69e76bd8a88a0a9399.tar.xz
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 'drivers/usb/host/ohci-tmio.c')
-rw-r--r--drivers/usb/host/ohci-tmio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-tmio.c b/drivers/usb/host/ohci-tmio.c
index a631dbb369d7..f88a0370659f 100644
--- a/drivers/usb/host/ohci-tmio.c
+++ b/drivers/usb/host/ohci-tmio.c
@@ -225,7 +225,7 @@ static int ohci_hcd_tmio_drv_probe(struct platform_device *dev)
}
ret = dma_declare_coherent_memory(&dev->dev, sram->start, sram->start,
- resource_size(sram), DMA_MEMORY_EXCLUSIVE);
+ resource_size(sram));
if (ret)
goto err_dma_declare;