diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2016-09-23 23:19:01 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-24 22:11:57 +0200 |
commit | 8a5d2acee6fa9ec5997335cc3ebdd47c7524d6d2 (patch) | |
tree | c4d9c3844d088d6c873d211f9386bbac5c79bbc9 /drivers/media/rc | |
parent | [media] media: platform: pxa_camera: add missing sensor power on (diff) | |
download | linux-8a5d2acee6fa9ec5997335cc3ebdd47c7524d6d2.tar.xz linux-8a5d2acee6fa9ec5997335cc3ebdd47c7524d6d2.zip |
[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>
Diffstat (limited to 'drivers/media/rc')
0 files changed, 0 insertions, 0 deletions