diff options
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
| -rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index d2a6d958ca76..0e3cc66aa8b7 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c @@ -2821,8 +2821,6 @@ int drm_mode_setcrtc(struct drm_device *dev, void *data,  			goto out;  		} -		drm_mode_set_crtcinfo(mode, CRTC_INTERLACE_HALVE_V); -  		/*  		 * Check whether the primary plane supports the fb pixel format.  		 * Drivers not implementing the universal planes API use a @@ -4841,7 +4839,8 @@ bool drm_property_change_valid_get(struct drm_property *property,  		if (value == 0)  			return true; -		return _object_find(property->dev, value, property->values[0]) != NULL; +		*ref = _object_find(property->dev, value, property->values[0]); +		return *ref != NULL;  	}  	for (i = 0; i < property->num_values; i++) | 
