MIPS: lantiq: Use dma_zalloc_coherent() in dma code
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 21 Jul 2018 23:30:57 +0000 (01:30 +0200)
committerPaul Burton <paul.burton@mips.com>
Mon, 23 Jul 2018 18:02:19 +0000 (11:02 -0700)
commit2b5c49131fc4e709910c07444f0befd21ad28bcf
treeb2355e8548f96ffa25383dc3225d054fc4a169cd
parenta30718868915fbb991a9ae9e45594b059f28e9ae
MIPS: lantiq: Use dma_zalloc_coherent() in dma code

Instead of using dma_alloc_coherent() and memset() directly use
dma_zalloc_coherent().

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19962/
Cc: ralf@linux-mips.org
Cc: jhogan@kernel.org
Cc: john@phrozen.org
Cc: linux-mips@linux-mips.org
Cc: dev@kresin.me
arch/mips/lantiq/xway/dma.c