msm: camera: isp: Fixing KW errors

Fixes KW errors for ISP.

CRs-Fixed: 2813979
Change-Id: I5b09b1c5a678352c2f2d467c6e8bbf587c1f8e35
Signed-off-by: Chandan Kumar Jha <cjha@codeaurora.org>
This commit is contained in:
Chandan Kumar Jha
2020-10-29 00:14:00 +05:30
parent a993be775c
commit 50e3fc5c42
5 changed files with 13 additions and 6 deletions

View File

@@ -1748,7 +1748,7 @@ int cam_flash_pmic_pkt_parser(struct cam_flash_ctrl *fctrl, void *arg)
add_req.skip_before_applying |= SKIP_NEXT_FRAME;
add_req.trigger_eof = true;
if ((flash_data->opcode !=
if (flash_data && (flash_data->opcode !=
CAMERA_SENSOR_FLASH_OP_FIREDURATION))
add_req.skip_before_applying |= 1;
else