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:
Ravikishore Pampana <rpampana@codeaurora.org>
Loading
Please register or sign in to comment