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 <pchilamk@codeaurora.org>
This commit is contained in:
Pavan Kumar Chilamkurthi 2020-10-27 01:44:04 -07:00 • committed by Gerrit - the friendly Code Review server
commit fdff0bcadc

View file

@ -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;