c27a982e3e
Remove the dev_is_dma_coherent check because this api is not allowed by other interfaces, and use dma_alloc_coherent for vrings and device page directly. Use dma_mmap_coherent to map memory allocated by dma_alloc_coherent instead of remap_pfn_range, and optimize the vop_mmap function code. Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Reviewed-by: Fugang Duan <fugang.duan@nxp.com> |
||
---|---|---|
.. | ||
Makefile | ||
imx_mic_boot.c | ||
imx_mic_main.c | ||
imx_mic_main.h |