From: Murali Karicheri Date: Tue, 3 Mar 2015 20:44:57 +0000 (-0600) Subject: of: Calculate device DMA masks based on DT dma-range size X-Git-Tag: omap-for-v4.1/fixes-rc1~172^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a6d7298b0833614c411f774c46514efb1bd5651;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas Reviewed-by: Catalin Marinas CC: Joerg Roedel CC: Grant Likely CC: Rob Herring CC: Will Deacon CC: Russell King CC: Arnd Bergmann CC: Suravee Suthikulpanit --- Reading git-diff-tree failed