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

Commit 46625683 authored by Ravikishore Pampana's avatar Ravikishore Pampana Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: icp: icp log modification



ICP log message is accessing the freed memory in the release
function. Modified the log message.

Change-Id: Ibf5b17d329b4a4bb9190cf4358386f8cc6974a89
Signed-off-by: default avatarRavikishore Pampana <rpampana@codeaurora.org>
parent 0994eb79
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3941,8 +3941,7 @@ static int cam_icp_mgr_release_hw(void *hw_mgr_priv, void *release_hw_args)
	if ((!hw_mgr->bps_ctxt_cnt || !hw_mgr->ipe_ctxt_cnt))
		cam_icp_device_timer_stop(hw_mgr);

	CAM_DBG(CAM_ICP, "Release done for ctx_id %d dev %d", ctx_id,
		ctx_data->icp_dev_acquire_info->dev_type);
	CAM_DBG(CAM_ICP, "Release done for ctx_id %d", ctx_id);
	return rc;
}