msm: camera: util: Correct the return code

For secure mode, csiphy driver ask for secure stream. Currently
this call always return success. This change return the appropriate
result of failure/success.

CRs-Fixed: 2673418
Change-Id: Ib425ad77e6481888acefdaf843256602aa759cf3
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
此提交包含在:
Jigarkumar Zala
2020-05-12 17:26:39 -07:00
父節點 beb3ea37bb
當前提交 0bede4b524

查看文件

@@ -86,7 +86,7 @@ int cam_csiphy_notify_secure_mode(struct csiphy_device *csiphy_dev,
rc = -EINVAL;
}
return 0;
return rc;
}
void cam_cpastop_scm_write(struct cam_cpas_hw_errata_wa *errata_wa)
@@ -169,7 +169,7 @@ int cam_csiphy_notify_secure_mode(struct csiphy_device *csiphy_dev,
rc = -EINVAL;
}
return 0;
return rc;
}
void cam_cpastop_scm_write(struct cam_cpas_hw_errata_wa *errata_wa)