Prechádzať zdrojové kódy

Merge "msm: camera: isp: Fix type mismatch arguments in indirect function calls" into camera-kernel.lnx.5.0

Savita Patted 4 rokov pred
rodič
commit
d85b43959c

+ 8 - 7
drivers/cam_isp/isp_hw_mgr/cam_tfe_hw_mgr.c

@@ -5175,7 +5175,7 @@ static int  cam_tfe_hw_mgr_find_affected_ctx(
 		 */
 		 */
 		if (notify_err_cb) {
 		if (notify_err_cb) {
 			notify_err_cb(tfe_hwr_mgr_ctx->common.cb_priv,
 			notify_err_cb(tfe_hwr_mgr_ctx->common.cb_priv,
-			CAM_ISP_HW_EVENT_ERROR, error_event_data);
+			CAM_ISP_HW_EVENT_ERROR, (void *)error_event_data);
 		} else {
 		} else {
 			CAM_WARN(CAM_ISP, "Error call back is not set");
 			CAM_WARN(CAM_ISP, "Error call back is not set");
 			goto end;
 			goto end;
@@ -5309,7 +5309,7 @@ static int cam_tfe_hw_mgr_handle_hw_rup(
 		if (atomic_read(&tfe_hw_mgr_ctx->overflow_pending))
 		if (atomic_read(&tfe_hw_mgr_ctx->overflow_pending))
 			break;
 			break;
 		tfe_hwr_irq_rup_cb(tfe_hw_mgr_ctx->common.cb_priv,
 		tfe_hwr_irq_rup_cb(tfe_hw_mgr_ctx->common.cb_priv,
-			CAM_ISP_HW_EVENT_REG_UPDATE, &rup_event_data);
+			CAM_ISP_HW_EVENT_REG_UPDATE, (void *)&rup_event_data);
 		break;
 		break;
 
 
 	default:
 	default:
@@ -5341,7 +5341,8 @@ static int cam_tfe_hw_mgr_handle_hw_epoch(
 		if (atomic_read(&tfe_hw_mgr_ctx->overflow_pending))
 		if (atomic_read(&tfe_hw_mgr_ctx->overflow_pending))
 			break;
 			break;
 		tfe_hw_irq_epoch_cb(tfe_hw_mgr_ctx->common.cb_priv,
 		tfe_hw_irq_epoch_cb(tfe_hw_mgr_ctx->common.cb_priv,
-			CAM_ISP_HW_EVENT_EPOCH, &epoch_done_event_data);
+			CAM_ISP_HW_EVENT_EPOCH,
+			(void *)&epoch_done_event_data);
 		break;
 		break;
 
 
 	case CAM_ISP_HW_TFE_IN_RDI0:
 	case CAM_ISP_HW_TFE_IN_RDI0:
@@ -5382,7 +5383,7 @@ static int cam_tfe_hw_mgr_handle_hw_sof(
 			break;
 			break;
 
 
 		tfe_hw_irq_sof_cb(tfe_hw_mgr_ctx->common.cb_priv,
 		tfe_hw_irq_sof_cb(tfe_hw_mgr_ctx->common.cb_priv,
-			CAM_ISP_HW_EVENT_SOF, &sof_done_event_data);
+			CAM_ISP_HW_EVENT_SOF, (void *)&sof_done_event_data);
 
 
 		break;
 		break;
 
 
@@ -5397,7 +5398,7 @@ static int cam_tfe_hw_mgr_handle_hw_sof(
 		if (atomic_read(&tfe_hw_mgr_ctx->overflow_pending))
 		if (atomic_read(&tfe_hw_mgr_ctx->overflow_pending))
 			break;
 			break;
 		tfe_hw_irq_sof_cb(tfe_hw_mgr_ctx->common.cb_priv,
 		tfe_hw_irq_sof_cb(tfe_hw_mgr_ctx->common.cb_priv,
-			CAM_ISP_HW_EVENT_SOF, &sof_done_event_data);
+			CAM_ISP_HW_EVENT_SOF, (void *)&sof_done_event_data);
 		break;
 		break;
 
 
 	default:
 	default:
@@ -5428,7 +5429,7 @@ static int cam_tfe_hw_mgr_handle_hw_eof(
 		if (atomic_read(&tfe_hw_mgr_ctx->overflow_pending))
 		if (atomic_read(&tfe_hw_mgr_ctx->overflow_pending))
 			break;
 			break;
 		tfe_hw_irq_eof_cb(tfe_hw_mgr_ctx->common.cb_priv,
 		tfe_hw_irq_eof_cb(tfe_hw_mgr_ctx->common.cb_priv,
-			CAM_ISP_HW_EVENT_EOF, &eof_done_event_data);
+			CAM_ISP_HW_EVENT_EOF, (void *)&eof_done_event_data);
 
 
 		break;
 		break;
 
 
@@ -5471,7 +5472,7 @@ static int cam_tfe_hw_mgr_handle_hw_buf_done(
 	if (buf_done_event_data.num_handles > 0 && tfe_hwr_irq_wm_done_cb) {
 	if (buf_done_event_data.num_handles > 0 && tfe_hwr_irq_wm_done_cb) {
 		CAM_DBG(CAM_ISP, "Notify ISP context");
 		CAM_DBG(CAM_ISP, "Notify ISP context");
 		tfe_hwr_irq_wm_done_cb(tfe_hw_mgr_ctx->common.cb_priv,
 		tfe_hwr_irq_wm_done_cb(tfe_hw_mgr_ctx->common.cb_priv,
-			CAM_ISP_HW_EVENT_DONE, &buf_done_event_data);
+			CAM_ISP_HW_EVENT_DONE, (void *)&buf_done_event_data);
 	}
 	}
 
 
 	CAM_DBG(CAM_ISP, "Buf done for out_res->res_id: 0x%x",
 	CAM_DBG(CAM_ISP, "Buf done for out_res->res_id: 0x%x",