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

Commit e3be2f2a authored by Karthik Anantha Ram's avatar Karthik Anantha Ram Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: cpas: Modify error check



The change fixes the error check while voting for axi clk.

Change-Id: I1f32e8276c455878b9832fd45ec0f7596b3d9ff6
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent b1e5d705
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -597,7 +597,7 @@ static int cam_cpas_util_set_camnoc_axi_clk_rate(
			required_camnoc_bw, clk_rate);

		rc = cam_soc_util_set_src_clk_rate(soc_info, clk_rate);
		if (!rc)
		if (rc)
			CAM_ERR(CAM_CPAS,
				"Failed in setting camnoc axi clk %llu %d %d",
				required_camnoc_bw, clk_rate, rc);