commit | a5bc63f28a384e2961dcd9069d71ccded8406ce6 | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Fri Nov 18 15:49:15 2016 -0200 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Mon Jan 30 14:46:44 2017 -0200 |
tree | 2e9d11661e903f07fa811c7434fe7253eedbf112 | |
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 <christophe.jaillet@wanadoo.fr> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>