diff options
Diffstat (limited to 'drivers/gpu/drm/drm_encoder.c')
-rw-r--r-- | drivers/gpu/drm/drm_encoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_encoder.c b/drivers/gpu/drm/drm_encoder.c index 273e1c59c54a..b694fb57eaa4 100644 --- a/drivers/gpu/drm/drm_encoder.c +++ b/drivers/gpu/drm/drm_encoder.c | |||
@@ -222,7 +222,7 @@ int drm_mode_getencoder(struct drm_device *dev, void *data, | |||
222 | struct drm_crtc *crtc; | 222 | struct drm_crtc *crtc; |
223 | 223 | ||
224 | if (!drm_core_check_feature(dev, DRIVER_MODESET)) | 224 | if (!drm_core_check_feature(dev, DRIVER_MODESET)) |
225 | return -EINVAL; | 225 | return -EOPNOTSUPP; |
226 | 226 | ||
227 | encoder = drm_encoder_find(dev, file_priv, enc_resp->encoder_id); | 227 | encoder = drm_encoder_find(dev, file_priv, enc_resp->encoder_id); |
228 | if (!encoder) | 228 | if (!encoder) |