techpack: camera: Add wait for macro camera on K9E and M20
Change-Id: I4467cd6bf02fddfae79c37f576c5c74c167c0a3b
This commit is contained in:
parent
54789f8c2a
commit
1ab94448bd
@ -4,6 +4,7 @@
|
||||
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/hwid.h>
|
||||
#include <linux/module.h>
|
||||
#include <cam_sensor_cmn_header.h>
|
||||
#include "cam_actuator_core.h"
|
||||
@ -306,6 +307,14 @@ int32_t cam_actuator_apply_request(struct cam_req_mgr_apply_request *apply)
|
||||
a_ctrl->i2c_data.per_frame[request_id].request_id) &&
|
||||
(a_ctrl->i2c_data.per_frame[request_id].is_settings_valid)
|
||||
== 1) {
|
||||
if (get_hw_version_platform() == HARDWARE_PROJECT_K9E) {
|
||||
if ((a_ctrl->setting_apply_state == ACT_APPLY_SETTINGS_LATER) && (apply->request_id == 13))
|
||||
usleep_range(10000, 10010);
|
||||
}
|
||||
if (get_hw_version_platform() == HARDWARE_PROJECT_M20) {
|
||||
if ((a_ctrl->setting_apply_state == ACT_APPLY_SETTINGS_LATER) && (apply->request_id == 13))
|
||||
usleep_range(3000, 3010);
|
||||
}
|
||||
rc = cam_actuator_apply_settings(a_ctrl,
|
||||
&a_ctrl->i2c_data.per_frame[request_id]);
|
||||
if (rc < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user