|
@@ -2844,15 +2844,15 @@ static int cam_tfe_mgr_stop_hw(void *hw_mgr_priv, void *stop_hw_args)
|
|
|
wait_for_completion_timeout(&ctx->config_done_complete,
|
|
|
msecs_to_jiffies(5));
|
|
|
|
|
|
+ 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,
|