diff options
| author | Christophe JAILLET <[email protected]> | 2016-09-23 18:19:01 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-10-24 18:11:57 -0200 |
| commit | 8a5d2acee6fa9ec5997335cc3ebdd47c7524d6d2 (patch) | |
| tree | c4d9c3844d088d6c873d211f9386bbac5c79bbc9 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | c771f42fed7f21f510793302687884b424cd9f54 (diff) | |
[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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions