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>
此提交包含在:
@@ -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()
|
||||
*
|
||||
|
新增問題並參考
封鎖使用者