drm/amd/display: clarify delay param for REG_WAIT
authorTony Cheng <tony.cheng@amd.com>
Mon, 24 Apr 2017 03:33:26 +0000 (23:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:06:38 +0000 (18:06 -0400)
Signed-off-by: Tony Cheng <tony.cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/inc/reg_helper.h

index b595b94..96fba1f 100644 (file)
 
 /* macro to poll and wait for a register field to read back given value */
 
-#define REG_WAIT(reg_name, field, val, delay, max_try) \
+#define REG_WAIT(reg_name, field, val, delay_between_poll_us, max_try) \
                generic_reg_wait(CTX, \
                                REG(reg_name), FN(reg_name, field), val,\
-                               delay, max_try, __func__)
+                               delay_between_poll_us, max_try, __func__)
 
 /* macro to update (read, modify, write) register fields
  */