2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/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