microblaze: dma-mapping: support debug_dma_mapping_error
authorShuah Khan <shuah.khan@hp.com>
Fri, 23 Nov 2012 21:33:42 +0000 (14:33 -0700)
committerJoerg Roedel <joro@8bytes.org>
Wed, 28 Nov 2012 14:28:58 +0000 (15:28 +0100)
commite728fa18eba8bcbf1f2c4aeb21b6304a16f2f9e4
tree8d51556e8b5991baee53d7a2924780ebe036e095
parent27fa0ab66f17e49a59fbca272f8c1cfab7c5fe81
microblaze: dma-mapping: support debug_dma_mapping_error

Add support for debug_dma_mapping_error() call to avoid warning from
debug_dma_unmap() interface when it checks for mapping error checked
status. Without this patch, device driver failed to check map error
warning is generated.

Signed-off-by: Shuah Khan <shuah.khan@hp.com>
Acked-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
arch/microblaze/include/asm/dma-mapping.h