drm/amd/display: fix REG_SET_5 macro
authorRoman Li <Roman.Li@amd.com>
Wed, 30 Nov 2016 21:23:16 +0000 (16:23 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:02:27 +0000 (17:02 -0400)
Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/inc/reg_helper.h

index 159b2c519f2be7225f3349b87b49c8920bef69f3..dbc8424f7b69f6432a1aac5392b0ffd7dee943e8 100644 (file)
@@ -84,7 +84,7 @@
 
 #define REG_SET_5(reg, init_value, f1, v1, f2, v2, f3, v3, f4, v4,     \
                f5, v5) \
-               REG_SET_N(reg, 6, init_value, \
+               REG_SET_N(reg, 5, init_value, \
                                FN(reg, f1), v1,\
                                FN(reg, f2), v2,\
                                FN(reg, f3), v3,\