]> 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)
commit32c68dbe77b499e799165d881094ad845d431fce
tree95660b0552c8a9c5c5836e022071ad98bab58df3
parentef5d45c6a72038bfc6b629bc28dd45baa07b1aad
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