aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_edid.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/drm_edid.c')
-rw-r--r--drivers/gpu/drm/drm_edid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index dd35dc11ffd4..8ed732ae1ecc 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -847,8 +847,7 @@ static int add_detailed_info(struct drm_connector *connector,
847 case EDID_DETAIL_MONITOR_CPDATA: 847 case EDID_DETAIL_MONITOR_CPDATA:
848 break; 848 break;
849 case EDID_DETAIL_STD_MODES: 849 case EDID_DETAIL_STD_MODES:
850 /* Five modes per detailed section */ 850 for (j = 0; j < 6; i++) {
851 for (j = 0; j < 5; i++) {
852 struct std_timing *std; 851 struct std_timing *std;
853 struct drm_display_mode *newmode; 852 struct drm_display_mode *newmode;
854 853