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>
此提交包含在:
@@ -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)
|
||||
|
新增問題並參考
封鎖使用者