diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-12-06 13:30:42 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-12-10 00:24:26 +0100 |
commit | 9f28cde0bc643186d32744ce69d12222e8588fe7 (patch) | |
tree | 708995a3df4183d75957b486c3994004e016459a /lib | |
parent | ARM: 7907/1: lib: delay-loop: Add align directive to fix BogoMIPS calculation (diff) | |
download | linux-9f28cde0bc643186d32744ce69d12222e8588fe7.tar.xz linux-9f28cde0bc643186d32744ce69d12222e8588fe7.zip |
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 <peter.ujfalusi@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions