c6x: dma_debug: add debug_dma_mapping_error support
authorShuah Khan <shuah.khan@hp.com>
Fri, 23 Nov 2012 21:32:06 +0000 (14:32 -0700)
committerJoerg Roedel <joro@8bytes.org>
Wed, 28 Nov 2012 14:28:57 +0000 (15:28 +0100)
commitad154880c03daf1f776e502e2c18775eda4280d2
tree6e251b8284e351db5c0d27e6972d18d788b00610
parentbb7c4deb82c2f0b278cdf45a392a3ed9479cdbbe
c6x: dma_debug: add debug_dma_mapping_error support

Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail
to check dma mapping errors on addresses returned by dma_map_single() and
dma_map_page() interfaces.

Signed-off-by: Shuah Khan <shuah.khan@hp.com>
Acked-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
arch/c6x/include/asm/dma-mapping.h