drm/amd/display: fix hotplug regression after code refactor

The condition logic of REG_WAIT in dce110_stream_encoder_dp_blank()
got inverted after refactoring.

Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Jordan Lazare <Jordan.Lazare@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Roman Li 2016-12-15 11:51:09 -05:00 committed by Alex Deucher
parent aa66df58b2
commit 9cdc4e7ce4
1 changed files with 1 additions and 1 deletions

View File

@ -635,7 +635,7 @@ static void dce110_stream_encoder_dp_blank(
*/
REG_WAIT(DP_VID_STREAM_CNTL, DP_VID_STREAM_STATUS,
1,
0,
10, max_retries);
ASSERT(retries <= max_retries);