Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35868804 authored by Ravikishore Pampana's avatar Ravikishore Pampana
Browse files

msm: camera: isp: Return error if cdm acquire fails



Return the proper rc value if cam_cdm_acquire fails. Put the hw
context back if cdm hw acquire fails.  Before this change, it was
returning rc value as zero causing the application to resend the
hardware release again.
if cam_ife_mgr_acquire_hw fails, release the cdm resource before
return.

Change-Id: Ia002076c53e5a0b7767d962859610b3ad9bd11a1
Signed-off-by: default avatarRavikishore Pampana <rpampana@codeaurora.org>
parent ee40106f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment