summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camerawrapper/CameraWrapper.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/camerawrapper/CameraWrapper.cpp b/camerawrapper/CameraWrapper.cpp
index 97f7e43..f91604a 100644
--- a/camerawrapper/CameraWrapper.cpp
+++ b/camerawrapper/CameraWrapper.cpp
@@ -400,7 +400,10 @@ int camera_send_command(struct camera_device * device,
if(!device)
return -EINVAL;
- return VENDOR_CALL(device, send_command, cmd, arg1, arg2);
+ /* send_command causes the camera hal do to unexpected things like lockups.
+ * don't pass any command to the vendor hal to prevent this */
+ return 0;
+ //return VENDOR_CALL(device, send_command, cmd, arg1, arg2);
}
void camera_release(struct camera_device * device)