Revert "dma-mapping: clear dev->dma_ops in arch_teardown_dma_ops"
authorChristoph Hellwig <hch@lst.de>
Tue, 25 Sep 2018 20:16:55 +0000 (13:16 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Sep 2018 22:12:26 +0000 (15:12 -0700)
commit1a0afc14b5da329765d6ecd4a79f546b9363ad8c
tree760667df33be493811fe60f7e1eb1b6190ed962a
parent9406a49fd1f4379409ed87b29fdaa259b0441912
Revert "dma-mapping: clear dev->dma_ops in arch_teardown_dma_ops"

This reverts commit 46053c73685411915d3de50c5a0045beef32806b.

This change breaks architectures setting up dma_ops in their own magic
way and not using arch_setup_dma_ops, so revert it.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/arm64/include/asm/dma-mapping.h
arch/arm64/mm/dma-mapping.c
include/linux/dma-mapping.h