]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] dma: correct dma_supported() implementation
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 20 Oct 2008 10:18:40 +0000 (11:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 13 Dec 2008 09:12:07 +0000 (09:12 +0000)
commit1124d6d21f80ec10cc962e2961c21a8dd1e0ca6a
tree0eb7f2bb830ed93daeb864cd554a00912356b3c4
parent70d13e083c8589dd3edc2313777655da39cb3568
[ARM] dma: correct dma_supported() implementation

dma_supported() is supposed to indicate whether the system can support
the DMA mask it was passed, which depends on the maximal address which
can be returned for DMA allocations.  If the mask is smaller than that,
we are unable to guarantee that the driver can reliably obtain suitable
memory.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/dma-mapping.h