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

Commit 7bacf1d4 authored by Shravya Samala's avatar Shravya Samala
Browse files

msm: camera: tfe: TPG stop Call



Move TPG stop call before checking if
Deinit call is required or not.

CRs-Fixed: 2777023
Change-Id: I9c7be620c2ba2762324129e547efc1d2a8dd6f40
Signed-off-by: default avatarShravya Samala <shravyas@codeaurora.org>
parent 3b6dc3d4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2787,15 +2787,15 @@ static int cam_tfe_mgr_stop_hw(void *hw_mgr_priv, void *stop_hw_args)

	wait_for_completion(&ctx->config_done_complete);

	if (ctx->is_tpg)
		cam_tfe_hw_mgr_stop_hw_res(&ctx->res_list_tpg);

	if (stop_isp->stop_only)
		goto end;

	if (cam_cdm_stream_off(ctx->cdm_handle))
		CAM_ERR(CAM_ISP, "CDM stream off failed %d", ctx->cdm_handle);

	if (ctx->is_tpg)
		cam_tfe_hw_mgr_stop_hw_res(&ctx->res_list_tpg);

	cam_tfe_hw_mgr_deinit_hw(ctx);

	CAM_DBG(CAM_ISP,