소스 검색

disp: msm: sde: Remove error log for invalid dspp in hist irq

Change moves error log to debug log for invalid dspp when process
histogram interrupt, that also removes error logs from userspace
by returning ENODEV.

Change-Id: Ib26b42668ba9e9597cd6eef75d87e679f2d3422f
Signed-off-by: Xu Yang <[email protected]>
Xu Yang 4 년 전
부모
커밋
bc7fed35cd
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      msm/sde/sde_color_processing.c

+ 2 - 3
msm/sde/sde_color_processing.c

@@ -3750,9 +3750,8 @@ int sde_cp_hist_interrupt(struct drm_crtc *crtc_drm, bool en,
 	}
 
 	if (!hw_dspp) {
-		DRM_ERROR("invalid dspp\n");
-		ret = -EPERM;
-		goto exit;
+		DRM_DEBUG_DRIVER("invalid dspp\n");
+		return -ENODEV;
 	}
 
 	irq_idx = sde_core_irq_idx_lookup(kms, SDE_IRQ_TYPE_HIST_DSPP_DONE,