From fdff0bcadc140ae669ebd8040759c17c0e2bdaf0 Mon Sep 17 00:00:00 2001 From: Pavan Kumar Chilamkurthi Date: Tue, 27 Oct 2020 01:44:04 -0700 Subject: [PATCH] msm: camera: cpas: Removing getting clk rate in cpas dump cpas dump may be called from tasklets where sleep is not allowed. Remove calling clk get rate APIs which will internally have mutexes which can sleep. CRs-Fixed: 2797701 Change-Id: Ia46238c26e4f39978f58643716a43fbdb60e8ae6 Signed-off-by: Pavan Kumar Chilamkurthi --- drivers/cam_cpas/cam_cpas_hw.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/cam_cpas/cam_cpas_hw.c b/drivers/cam_cpas/cam_cpas_hw.c index ca777c7a01bb..778dfd5e8544 100644 --- a/drivers/cam_cpas/cam_cpas_hw.c +++ b/drivers/cam_cpas/cam_cpas_hw.c @@ -1915,15 +1915,6 @@ static int cam_cpas_log_vote(struct cam_hw_info *cpas_hw) curr_node->mnoc_ab_bw, curr_node->mnoc_ib_bw); } - if (cpas_core->streamon_clients > 0) { - /* - * Means, cpas has clocks turned on, so we can query clk freq. - * Print clk frequencies that cpas enables - this will print - * camcc_ahb, camcc_axi, gcc_hf, gcc_sf as well. - */ - cam_soc_util_print_clk_freq(&cpas_hw->soc_info); - } - cam_cpas_dump_monitor_array(cpas_core); return 0;