Skip to content
Commit ee23c78c authored by zhong jiang's avatar zhong jiang Committed by Mauro Carvalho Chehab
Browse files

media: mtk_vcodec_util: Use dma_zalloc_coherent to replace dma_alloc_coherent + memset



dma_zalloc_coherent has implemented the dma_alloc_coherent() + memset(),
We prefer to dma_zalloc_coherent instead of open-codeing.

Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent eac7230f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment