Merge "disp: msm: sde: return proper errno when register event fails"

This commit is contained in:
qctecmdr
2020-10-01 00:36:12 -07:00
committed by Gerrit - the friendly Code Review server
melakukan 77a8b983ed

Melihat File

@@ -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) {