Commit 1e202048 authored by TARKZiM's avatar TARKZiM Committed by Bernhard Thoben
Browse files

kitakami-common: camera: Directly open camera3 device

* Open camera2 device causing errors.
parent dfb227b0
......@@ -80,14 +80,7 @@ static int camera_device_open(const hw_module_t* module, const char* name,
if (name != NULL) {
if (check_vendor_module())
return -EINVAL;
if (isHAL3Enabled) {
ALOGV("%s: using HAL3", __FUNCTION__);
rv = camera3_device_open(module, name, device);
} else {
ALOGV("%s: using HAL2", __FUNCTION__);
rv = camera2_device_open(module, name, device);
}
rv = camera3_device_open(module, name, device);
}
ALOGV("%s: rv = %d", __FUNCTION__, rv);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment