mips: dma_debug: add debug_dma_mapping_error support
authorShuah Khan <shuah.khan@hp.com>
Fri, 23 Nov 2012 21:34:56 +0000 (14:34 -0700)
committerJoerg Roedel <joro@8bytes.org>
Wed, 28 Nov 2012 14:28:59 +0000 (15:28 +0100)
commit9c83b07c042361c429883b3205cbc96fd19598bd
treec71ba94ed500b5b5bb34e68d6dc1f78330d59542
parente728fa18eba8bcbf1f2c4aeb21b6304a16f2f9e4
mips: 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>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
arch/mips/include/asm/dma-mapping.h