drm/amd/display: clarify delay param for REG_WAIT

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>
This commit is contained in:
Tony Cheng 2017-04-23 23:33:26 -04:00 committed by Alex Deucher
parent e91b57334a
commit 50db413d55

View File

@ -185,10 +185,10 @@
/* 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
*/