diff options
Diffstat (limited to 'drivers/gpu/drm/radeon')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index 902f7ce86bbc..d276d6d8e2b0 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c | |||
@@ -513,7 +513,7 @@ static void radeon_compute_pll_legacy(struct radeon_pll *pll, | |||
513 | max_fractional_feed_div = pll->max_frac_feedback_div; | 513 | max_fractional_feed_div = pll->max_frac_feedback_div; |
514 | } | 514 | } |
515 | 515 | ||
516 | for (post_div = min_post_div; post_div <= max_post_div; ++post_div) { | 516 | for (post_div = max_post_div; post_div >= min_post_div; --post_div) { |
517 | uint32_t ref_div; | 517 | uint32_t ref_div; |
518 | 518 | ||
519 | if ((pll->flags & RADEON_PLL_NO_ODD_POST_DIV) && (post_div & 1)) | 519 | if ((pll->flags & RADEON_PLL_NO_ODD_POST_DIV) && (post_div & 1)) |