Prechádzať zdrojové kódy

Merge "msm: camera: cdm: Fix deadlock issue in CDM handle error" into camera-kernel.lnx.5.0

Camera Software Integration 3 rokov pred
rodič
commit
17d74d0e1b
1 zmenil súbory, kde vykonal 0 pridanie a 2 odobranie
  1. 0 2
      drivers/cam_cdm/cam_cdm_hw_core.c

+ 0 - 2
drivers/cam_cdm/cam_cdm_hw_core.c

@@ -1803,11 +1803,9 @@ int cam_hw_cdm_handle_error_info(
 
 	if (node != NULL) {
 		if (node->request_type == CAM_HW_CDM_BL_CB_CLIENT) {
-			mutex_lock(&cdm_hw->hw_mutex);
 			cam_cdm_notify_clients(cdm_hw,
 					CAM_CDM_CB_STATUS_HW_ERROR,
 					(void *)node);
-			mutex_unlock(&cdm_hw->hw_mutex);
 		} else if (node->request_type == CAM_HW_CDM_BL_CB_INTERNAL) {
 			CAM_ERR(CAM_CDM, "Invalid node=%pK %d", node,
 					node->request_type);