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

Commit 157ae880 authored by Abhishek Kondaveeti's avatar Abhishek Kondaveeti Committed by Gerrit - the friendly Code Review server
Browse files

msm: ife: Fix vfe output resource state



Update vfe out resource state properly during
stream on and stream off.

Change-Id: If4b4e8f4fef2c60b77fbb4c65a47b6be851fa08e
Signed-off-by: default avatarAbhishek Kondaveeti <akondave@codeaurora.org>
parent aa08a35e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1696,6 +1696,7 @@ static int cam_vfe_bus_start_vfe_out(
	/* BUS_WR_TEST_BUS_CTRL */
	cam_io_w_mb(0x0, rsrc_data->common_data->mem_base + 0x0000211C);

	vfe_out->res_state = CAM_ISP_RESOURCE_STATE_STREAMING;
	return rc;
}

@@ -1723,7 +1724,6 @@ static int cam_vfe_bus_stop_vfe_out(
	for (i = 0; i < rsrc_data->num_wm; i++)
		rc = cam_vfe_bus_stop_wm(rsrc_data->wm_res[i]);

	vfe_out->res_state = CAM_ISP_RESOURCE_STATE_STREAMING;

	vfe_out->res_state = CAM_ISP_RESOURCE_STATE_RESERVED;
	return rc;