Merge "msm: camera: sensor: Only handle the valid request" into camera-kernel.lnx.4.0

This commit is contained in:
Haritha Chintalapati 2020-07-27 13:39:23 -07:00 • committed by Gerrit - the friendly Code Review server
commit 73b9674d4d

View file

@ -1281,7 +1281,7 @@ int cam_sensor_apply_settings(struct cam_sensor_ctrl_t *s_ctrl,
}
}
}
} else {
} else if (req_id > 0) {
offset = req_id % MAX_PER_FRAME_ARRAY;
if (opcode == CAM_SENSOR_PACKET_OPCODE_SENSOR_FRAME_SKIP_UPDATE)