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

Commit 2897e2bf authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: ife: Stop tasklet after deinit"

parents 25d0d18c ff736fcb
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -2698,17 +2698,19 @@ static int cam_ife_mgr_stop_hw(void *hw_mgr_priv, void *stop_hw_args)
		cam_ife_hw_mgr_stop_hw_res(hw_mgr_res);
	}

	cam_tasklet_stop(ctx->common.tasklet_info);

	cam_ife_mgr_pause_hw(ctx);

	if (stop_isp->stop_only)
	if (stop_isp->stop_only) {
		cam_tasklet_stop(ctx->common.tasklet_info);
		goto end;
	}

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

	cam_ife_hw_mgr_deinit_hw(ctx);
	cam_tasklet_stop(ctx->common.tasklet_info);

	CAM_DBG(CAM_ISP,
		"Stop success for ctx id:%d rc :%d", ctx->ctx_index, rc);