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 <alokc@codeaurora.org>
This commit is contained in:
Alok Chauhan 2021-04-30 16:25:28 +05:30
commit e1f751f760

View file

@ -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;
}