diff options
| author | Christophe JAILLET <[email protected]> | 2016-11-18 15:49:15 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-01-30 14:46:44 -0200 |
| commit | a5bc63f28a384e2961dcd9069d71ccded8406ce6 (patch) | |
| tree | 2e9d11661e903f07fa811c7434fe7253eedbf112 /tools/perf/scripts/python/stackcollapse.py | |
| parent | f41003a23a02dc7299539300f74360c2a932714a (diff) | |
[media] soc-camera: Fix a return value in case of error
If 'ov9640_reg_read()' does not return 0, then 'val' is left unmodified.
As it is not initialized either, the return value can be anything.
It is likely that returning the error code was expected here.
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions