OpenCloudOS-Kernel/drivers/media/platform/mtk-vpu
Christophe JAILLET 8a5d2acee6 [media] VPU: mediatek: Fix return value in case of error
If 'dma_alloc_coherent()' returns NULL, 'vpu_alloc_ext_mem()' will
return 0 which means success.
Return -ENOMEM instead.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-10-24 18:11:57 -02:00
..
Makefile [media] VPU: mediatek: support Mediatek VPU 2016-07-08 14:04:48 -03:00
mtk_vpu.c [media] VPU: mediatek: Fix return value in case of error 2016-10-24 18:11:57 -02:00
mtk_vpu.h [media] VPU: mediatek: Add mdp support 2016-10-21 12:09:37 -02:00