]> git.karo-electronics.de Git - karo-tx-linux.git/commit
microblaze: dma-mapping: Support debug_dma_mapping_error
authorShuah Khan <shuah.khan@hp.com>
Thu, 25 Oct 2012 23:29:07 +0000 (17:29 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 8 Nov 2012 11:30:14 +0000 (12:30 +0100)
commitf229605441030bcd315c21d97b25889d63ed0130
tree17ca102d34c0d42cd6d5886e055fedc1bedb3324
parent430d1c5bcd440ae9a0bce64299fb752b0690227e
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>
arch/microblaze/include/asm/dma-mapping.h