sgiwd93: convert to dma_alloc_noncoherent
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Sep 2020 11:24:21 +0000 (13:24 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Sep 2020 04:20:44 +0000 (06:20 +0200)
commitbd9b848557b0e6bfefa64e661196aaea82c983aa
tree74796fe1be4fe67b6ff152148fa67de333f0697f
parent0d71675f87dc406d4c284729b8d36be050ad0d15
sgiwd93: convert to dma_alloc_noncoherent

Use the new non-coherent DMA API including proper ownership transfers.
This also means we can allocate the memory as DMA_TO_DEVICE instead
of bidirectional.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
drivers/scsi/sgiwd93.c