OSDN Git Service

ARM/omap1: switch to use dma_direct_set_offset for lbus DMA offsets
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Sep 2020 07:33:59 +0000 (09:33 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Sep 2020 04:15:32 +0000 (06:15 +0200)
commit38225f2ef2f4263fc65acae63fdd4e8489c9ffcf
tree049d9f69b361571b22f175a0cb5085c0a19fad72
parenteba304c6861613a649ba46cfab835b1eddeacd8e
ARM/omap1: switch to use dma_direct_set_offset for lbus DMA offsets

Switch the omap1510 platform ohci device to use dma_direct_set_offset
to set the DMA offset instead of using direct hooks into the DMA
mapping code and remove the now unused hooks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/include/asm/dma-direct.h
arch/arm/mach-omap1/include/mach/memory.h
arch/arm/mach-omap1/usb.c