apbh: Use dma_alloc_coherent() to get DMA address
Avoid converting virtual address to physical by simple casting by
making use of the fact that dma_alloc_coherent() can already return
that information to us.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 64f137c commit b082f2edca46c425a8e28e0a98e6ea47fb43a795
@Andrey Smirnov Andrey Smirnov authored on 27 May 2019
Sascha Hauer committed on 28 May 2019
Showing 1 changed file
View
drivers/dma/apbh_dma.c