Browse Source

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 <[email protected]>
Pavan Kumar Chilamkurthi 4 years ago
parent
commit
fdff0bcadc
1 changed files with 0 additions and 9 deletions
  1. 0 9
      drivers/cam_cpas/cam_cpas_hw.c

+ 0 - 9
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;