From: Russell King Date: Fri, 6 Dec 2013 12:30:42 +0000 (+0000) Subject: ARM: another fix for the DMA mapping checks X-Git-Tag: v3.13-rc4~9^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f28cde0bc643186d32744ce69d12222e8588fe7;p=pandora-kernel.git ARM: another fix for the DMA mapping checks Peter reports that OMAP audio broke with the recent fix for these checks, caused by OMAP audio using a 64-bit DMA mask. We should allow 64-bit DMA masks even with 32-bit dma_addr_t if we can be sure the amount of RAM we have won't allow the 32-bit dma_addr_t to overflow. Unfortunately, the checks to detect overflow were not correct. Tested-by: Peter Ujfalusi Signed-off-by: Russell King --- Reading git-diff-tree failed