arm: asm: dma-mapping: added dma_free_coherent API
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 23 Feb 2015 13:09:56 +0000 (18:39 +0530)
committerMarek Vasut <marex@denx.de>
Tue, 14 Apr 2015 03:48:09 +0000 (05:48 +0200)
commit2f06693567e259321406822b343f8aa70857c7bb
tree9b28785cd152468c11b1bf40441193ad27557ab6
parent027b6103cdb806fd6441c983e9dc4b2d1b7f7019
arm: asm: dma-mapping: added dma_free_coherent API

Added dma_free_coherent corresponding to the dma_alloc_coherent in
dma-mapping.h in order to free memory allocated using dma_alloc_coherent.
This API is used in dwc3 driver.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
arch/arm/include/asm/dma-mapping.h