sparc32: remove the call to dma_make_coherent in arch_dma_free
authorChristoph Hellwig <hch@lst.de>
Thu, 21 Oct 2021 11:01:46 +0000 (13:01 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 21 Oct 2021 11:02:41 +0000 (13:02 +0200)
commit2c38d6a4e959a88213e24214188e056e5b8cf4c6
tree880b16bef9bdabffc2be251b79d452c932357bc9
parent519d81956ee277b4419c723adfb154603c2565ba
sparc32: remove the call to dma_make_coherent in arch_dma_free

LEON only needs snooping when DMA accesses are not seen on the processor
bus.  Given that coherent allocations are mapped uncached this can't
happen for those allocations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Acked-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/ioport.c