Browse Source

msm: camera: ife: Remove unnecessary cdm release call

The cdm release call should be called here only if there
is some other failure after cdm acquire. But since there is
no other failure condition, we are removing it.

CRs-Fixed: 3251362

Change-Id: I2bfad3f00dd95c70377f60d6005214b7892f0359
Signed-off-by: Shardul Bankar <[email protected]>
Shardul Bankar 2 năm trước cách đây
mục cha
commit
d8ac068e4d
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

+ 0 - 1
drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

@@ -5913,7 +5913,6 @@ free_cdm_cmd:
 	cam_ife_mgr_free_cdm_cmd(&ife_ctx->cdm_cmd);
 free_res:
 	cam_ife_hw_mgr_release_hw_for_ctx(ife_ctx);
-	cam_cdm_release(ife_ctx->cdm_handle);
 	cam_ife_hw_mgr_put_ctx(&ife_hw_mgr->free_ctx_list, &ife_ctx);
 free_mem:
 	if (gen_port_info) {