diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-06-27 11:25:33 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-10-31 15:48:38 +0100 |
commit | 446b2a9380b64b9d7410d86ee8226031e03645cf (patch) | |
tree | 1bd25472bcd24d88d1fbaf0b35bc05ebee8441d4 /drivers/of | |
parent | DMA-API: usb: ssb-hcd: replace dma_set_mask()+dma_set_coherent_mask() with ne... (diff) | |
download | linux-446b2a9380b64b9d7410d86ee8226031e03645cf.tar.xz linux-446b2a9380b64b9d7410d86ee8226031e03645cf.zip |
DMA-API: amba: get rid of separate dma_mask
AMBA Primecell devices always treat streaming and coherent DMA exactly
the same, so there's no point in having the masks separated.
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/platform.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index 9b439ac63d8e..54382ba4a6e9 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -284,9 +284,6 @@ static struct amba_device *of_amba_device_create(struct device_node *node, else of_device_make_bus_id(&dev->dev); - /* setup amba-specific device info */ - dev->dma_mask = ~0; - /* Allow the HW Peripheral ID to be overridden */ prop = of_get_property(node, "arm,primecell-periphid", NULL); if (prop) |