|
@@ -6034,10 +6034,10 @@ static int cam_icp_mgr_release_hw(void *hw_mgr_priv, void *release_hw_args)
|
|
|
cam_icp_hw_mgr_reset_clk_info(hw_mgr);
|
|
|
rc = cam_ipe_bps_deint(hw_mgr);
|
|
|
}
|
|
|
- mutex_unlock(&hw_mgr->hw_mgr_mutex);
|
|
|
|
|
|
if ((!hw_mgr->bps_ctxt_cnt || !hw_mgr->ipe_ctxt_cnt))
|
|
|
cam_icp_device_timer_stop(hw_mgr);
|
|
|
+ mutex_unlock(&hw_mgr->hw_mgr_mutex);
|
|
|
|
|
|
CAM_DBG(CAM_ICP, "Release done for ctx_id %d", ctx_id);
|
|
|
return rc;
|