cameras_qcom2.cc: add a missing newline (#21956)

old-commit-hash: 74ecbbed638c390beb50d3c932779492a5f0af97
This commit is contained in:
Dean Lee
2021-08-18 16:37:05 +08:00
committed by GitHub
parent f0d8b215bd
commit f32b1655e4
+2 -1
View File
@@ -63,7 +63,8 @@ int cam_control(int fd, int op_code, void *handle, int size) {
struct cam_control camcontrol = {0};
camcontrol.op_code = op_code;
camcontrol.handle = (uint64_t)handle;
if (size == 0) { camcontrol.size = 8;
if (size == 0) {
camcontrol.size = 8;
camcontrol.handle_type = CAM_HANDLE_MEM_HANDLE;
} else {
camcontrol.size = size;