sgiseeq: convert to dma_alloc_noncoherent
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Sep 2020 11:24:11 +0000 (13:24 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Sep 2020 04:20:45 +0000 (06:20 +0200)
commit7f3bb7f53a404c883bc289eedaa5e3c6ff9e2b47
tree7d7139e6938729fe6c18fd47c577a24f947ac45a
parent00718b23a4730c5b155fa6f1deba532c921470c8
sgiseeq: convert to dma_alloc_noncoherent

Use the new non-coherent DMA API including proper ownership transfers.
This includes adding additional calls to dma_sync_desc_dev as the
old syncing was rather ad-hoc.

Thanks to Thomas Bogendoerfer for debugging the ownership transfer
issues.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
drivers/net/ethernet/seeq/sgiseeq.c