Skip to content

Commit 5857ce9

Browse files
msm: camera: isp: ignoring reg read of primary SOF ts addr for QCS615
The timestamp is being read using kernel API's in ver2 CRs-Fixed: 4403515 Change-Id: I517cbacbb155810c71db92b11b53d5034fdeef18 Signed-off-by: Ignatius Michael Jihan <mignatiu@qti.qualcomm.com>
1 parent 5cc4fdc commit 5857ce9

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

camera/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_hw_ver1.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3789,6 +3789,10 @@ static int cam_ife_csid_ver1_process_cmd(void *hw_priv,
37893789
case CAM_ISP_HW_CMD_CSID_CHANGE_HALT_MODE:
37903790
rc = cam_ife_csid_halt(csid_hw, cmd_args);
37913791
break;
3792+
case CAM_ISP_HW_CMD_GET_SET_PRIM_SOF_TS_ADDR:
3793+
/* Not supported for V1 */
3794+
rc = 0;
3795+
break;
37923796
case CAM_ISP_HW_CMD_CSID_DISCARD_INIT_FRAMES:
37933797
/* Not supported for V1 */
37943798
rc = 0;

camera/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver2.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0-only
22
/*
33
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
4-
* Copyright (c) 2022-2024, Qualcomm Innovation Center, Inc. All rights reserved.
4+
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
55
*/
66

77
#include <linux/slab.h>
@@ -777,6 +777,10 @@ int cam_vfe_top_process_cmd(void *device_priv, uint32_t cmd_type,
777777
case CAM_ISP_HW_CMD_APPLY_CLK_BW_UPDATE:
778778
rc = cam_vfe_top_apply_clk_bw_update(&top_priv->top_common, cmd_args, arg_size);
779779
break;
780+
case CAM_ISP_HW_CMD_GET_SET_PRIM_SOF_TS_ADDR:
781+
/* Not supported for V2 */
782+
rc = 0;
783+
break;
780784
default:
781785
rc = -EINVAL;
782786
CAM_ERR(CAM_ISP, "Error! Invalid cmd:%d", cmd_type);

0 commit comments

Comments
 (0)