Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fdff0bca authored by Pavan Kumar Chilamkurthi's avatar Pavan Kumar Chilamkurthi Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarPavan Kumar Chilamkurthi <pchilamk@codeaurora.org>
parent 924e53be
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -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;