diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-08-18 11:16:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-12 10:48:59 -0400 |
commit | ee23c78c79b6599c9791d7615f0282aa1536b019 (patch) | |
tree | 94a9afcae46cada174ee170bf4c72839d443a99b /lib/earlycpio.c | |
parent | eac7230fdb4672c2cb56f6a01a1744f562c01f80 (diff) | |
download | linux-ee23c78c79b6599c9791d7615f0282aa1536b019.tar.bz2 |
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: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'lib/earlycpio.c')
0 files changed, 0 insertions, 0 deletions