hal2: convert to dma_alloc_noncoherent
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Sep 2020 11:26:46 +0000 (13:26 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Sep 2020 04:20:44 +0000 (06:20 +0200)
commited4bc1890b4984d0af447ad3cc1f93541623f8f3
tree275c933caf1e8094815f854aea382a2f1d7cecc6
parentbd9b848557b0e6bfefa64e661196aaea82c983aa
hal2: convert to dma_alloc_noncoherent

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
sound/mips/hal2.c