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>
This commit is contained in:
@@ -86,7 +86,7 @@ int cam_csiphy_notify_secure_mode(struct csiphy_device *csiphy_dev,
|
|||||||
rc = -EINVAL;
|
rc = -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cam_cpastop_scm_write(struct cam_cpas_hw_errata_wa *errata_wa)
|
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;
|
rc = -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cam_cpastop_scm_write(struct cam_cpas_hw_errata_wa *errata_wa)
|
void cam_cpastop_scm_write(struct cam_cpas_hw_errata_wa *errata_wa)
|
||||||
|
Reference in New Issue
Block a user