]> git.baikalelectronics.ru Git - kernel.git/commit
mips/jazz: remove the mapping_error dma_map_ops method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 18:18:58 +0000 (19:18 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:38 +0000 (06:56 -0800)
commit676c33cb33209b0e271e97ad7ef319c176016ef7
tree95660b0552c8a9c5c5836e022071ad98bab58df3
parent8567ff27d4cd2c487f09fee87c34410c42e43ac7
mips/jazz: remove the mapping_error dma_map_ops method

The Jazz iommu code already returns (~(dma_addr_t)0x0) on mapping
failures, so we can switch over to returning DMA_MAPPING_ERROR and
let the core dma-mapping code handle the rest.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mips/include/asm/jazzdma.h
arch/mips/jazz/jazzdma.c