mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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:
parent
924e53bea5
commit
fdff0bcadc
1 changed files with 0 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue