From e1f751f7606d52ab176c14529e29ee91c3f8cc1d Mon Sep 17 00:00:00 2001 From: Alok Chauhan Date: Fri, 30 Apr 2021 16:25:28 +0530 Subject: [PATCH] msm: camera: ife: Update resource state in tpg start Resource state is not proper during csid stop for PHY TPG hence stop doesn't call for it. Update the correct resource state during tpg start for PHY TPG. CRs-Fixed: 2906168 Change-Id: Ib5fd05a380f6e1dbb303af23b7b0017d9f88c125 Signed-off-by: Alok Chauhan --- .../cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c b/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c index 1445bd098aa2..aa6f9a4c7392 100644 --- a/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c +++ b/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c @@ -1684,6 +1684,8 @@ static int cam_ife_csid_tpg_start(struct cam_ife_csid_hw *csid_hw, CAM_DBG(CAM_ISP, "reg 0x%x = 0x%x", 0x600, val); } + res->res_state = CAM_ISP_RESOURCE_STATE_STREAMING; + return 0; }