msm: camera: icp: Dumping icp clocks in error case

Dumping both ipe and bps clocks in case of frame process
failure. Added generic utility function to dump any hw's
clocks.

CRs-Fixed: 3297488
Change-Id: Ia952696b0288361bffaeadfd53041c72fd21f96d
Signed-off-by: Yash Upadhyay <quic_yupadhya@quicinc.com>
Signed-off-by: Alok Chauhan <quic_alokc@quicinc.com>
此提交包含在:
Yash Upadhyay
2022-10-06 19:06:02 +05:30
提交者 Alok Chauhan
父節點 1770bf062d
當前提交 419797f633
共有 6 個檔案被更改,包括 64 行新增7 行删除

查看文件

@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-2024, Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef _CAM_SOC_UTIL_H_
@@ -607,6 +607,18 @@ int cam_soc_util_set_clk_rate_level(struct cam_hw_soc_info *soc_info,
int cam_soc_util_clk_disable(struct cam_hw_soc_info *soc_info, int cesta_client_idx,
bool optional_clk, int32_t clk_idx);
/**
* cam_soc_util_dump_clk()
*
* @brief: Dumps all the clocks of the caller hw, using
* clock api.
*
* @soc_info: Device soc information
* @return: Success or failure
*/
int cam_soc_util_dump_clk(struct cam_hw_soc_info *soc_info);
/**
* cam_soc_util_irq_enable()
*