From 22f050be1558a878f0fec34e8efbb89f5c17a5eb Mon Sep 17 00:00:00 2001 From: Roman Li Date: Wed, 30 Nov 2016 16:23:16 -0500 Subject: [PATCH] drm/amd/display: fix REG_SET_5 macro Signed-off-by: Roman Li Reviewed-by: Tony Cheng Reviewed-by: Roman Li Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/inc/reg_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h b/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h index 159b2c519f2b..dbc8424f7b69 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h +++ b/drivers/gpu/drm/amd/display/dc/inc/reg_helper.h @@ -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,\ -- 2.30.2