Merge "msm: camera: isp: Fix for NULL dereference for failure case of dual IFE" into camera-kernel.lnx.4.0

This commit is contained in:
Haritha Chintalapati
2020-11-23 16:55:01 -08:00
کامیت شده توسط Gerrit - the friendly Code Review server
کامیت 07152233db

مشاهده پرونده

@@ -1909,7 +1909,7 @@ acquire_successful:
break;
}
if (j == CAM_IFE_CSID_HW_NUM_MAX) {
if (j == -1 || !csid_acquire.node_res) {
CAM_ERR(CAM_ISP,
"Can not acquire ife csid dual resource");
goto end;