[ARM] dma: add validation of DMA params
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 29 Sep 2008 12:48:17 +0000 (13:48 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 29 Sep 2008 12:54:28 +0000 (13:54 +0100)
Validate the direction argument like x86 does.  In addition,
validate the dma_unmap_* parameters against those passed to
dma_map_* when using the DMA bounce code.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found