diff --git a/msm/sde/sde_color_processing.c b/msm/sde/sde_color_processing.c index 9c29ac5d99dd..42b319bbf073 100644 --- a/msm/sde/sde_color_processing.c +++ b/msm/sde/sde_color_processing.c @@ -4124,7 +4124,7 @@ int sde_cp_ltm_wb_pb_interrupt(struct drm_crtc *crtc, bool en, hw_dspp = sde_crtc->mixers[0].hw_dspp; if (!hw_dspp) { DRM_ERROR("invalid dspp\n"); - return -EINVAL; + return -ENODEV; } if (en) {