summaryrefslogtreecommitdiffstats
path: root/camera
diff options
context:
space:
mode:
authorSundar Raman <sunds@ti.com>2011-08-29 16:30:34 -0700
committerIliyan Malchev <malchev@google.com>2011-08-30 09:36:21 -0700
commit432a06a54a5c41f9a36cc796d99072d5ee8cbdb8 (patch)
tree688b4b6f4eac1b1b0c52dd791d49ea55913e0f28 /camera
parent275c9a4fc9d0e764e31dd88e801cbc7a0966d149 (diff)
downloadhardware_ti_omap4-432a06a54a5c41f9a36cc796d99072d5ee8cbdb8.zip
hardware_ti_omap4-432a06a54a5c41f9a36cc796d99072d5ee8cbdb8.tar.gz
hardware_ti_omap4-432a06a54a5c41f9a36cc796d99072d5ee8cbdb8.tar.bz2
Remove some non fatal error logs in Camera use-case
Change-Id: I3d0f40b68c2337e67271784c544db8979dcc0358 Signed-off-by: Sundar Raman <sunds@ti.com>
Diffstat (limited to 'camera')
-rw-r--r--camera/CameraHal_Module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/camera/CameraHal_Module.cpp b/camera/CameraHal_Module.cpp
index cf3ec60..2df6928 100644
--- a/camera/CameraHal_Module.cpp
+++ b/camera/CameraHal_Module.cpp
@@ -475,7 +475,7 @@ done:
int camera_device_open(const hw_module_t* module, const char* name,
hw_device_t** device)
{
- int rv = -EINVAL;
+ int rv = 0;
int num_cameras = 0;
int cameraid;
ti_camera_device_t* camera_device = NULL;