mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
01edb5e12c
commit
446b2a9380
3 changed files with 1 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue