Skip to content

Commit

Permalink
drm: i915: correct return status in intel_hdmi_mode_valid()
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Kaiser <[email protected]>
Reviewed-by: Keith Packard <[email protected]>
Signed-off-by: Keith Packard <[email protected]>
  • Loading branch information
nikai3d authored and keith-packard committed Jun 4, 2011
1 parent 95e0ee9 commit 5cbba41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ static int intel_hdmi_mode_valid(struct drm_connector *connector,
if (mode->clock > 165000)
return MODE_CLOCK_HIGH;
if (mode->clock < 20000)
return MODE_CLOCK_HIGH;
return MODE_CLOCK_LOW;

if (mode->flags & DRM_MODE_FLAG_DBLSCAN)
return MODE_NO_DBLESCAN;
Expand Down

0 comments on commit 5cbba41

Please sign in to comment.