mtip32xx: ѕtop abusing the managed resource APIs
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Jan 2019 20:23:30 +0000 (21:23 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 Jan 2019 19:50:12 +0000 (12:50 -0700)
commit22cb4e681523b35f1a0eba40c25ddc1b16898801
tree26fef09e0dfa9bfebb896acee4bf577bc1fb19c5
parentf17b5f06cb92ef2250513a1e154c47b78df07d40
mtip32xx: ѕtop abusing the managed resource APIs

The mtip32xx driver uses managed resources for DMA coherent memory
and irqs, but then always pairs them with free calls anyway, making
the resource tracking rather pointless.  Given some DMA allocations
are transient anyway, the irq freeing seems to require ordering vs
other hardware access the best solution seems to be to stop using
the managed resource API entirely.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c