Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
of: Calculate device DMA masks based on DT dma-range size
Calculate the dma_mask and coherent_dma_mask based on the dma-range values set in DT for the device. Limit the mask to lower of the default mask and mask calculated. Signed-off-by: Murali Karicheri <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> CC: Joerg Roedel <[email protected]> CC: Grant Likely <[email protected]> CC: Rob Herring <[email protected]> CC: Will Deacon <[email protected]> CC: Russell King <[email protected]> CC: Arnd Bergmann <[email protected]> CC: Suravee Suthikulpanit <[email protected]>
- Loading branch information