summaryrefslogtreecommitdiff
path: root/src/radeon_crtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_crtc.c')
-rw-r--r--src/radeon_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index a67d3748..51f361d9 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -181,7 +181,7 @@ RADEONComputePLL(RADEONPLLPtr pll,
}
for (ref_div = min_ref_div; ref_div <= max_ref_div; ++ref_div) {
- uint32_t feedback_div, current_freq, error, vco_diff;
+ uint32_t feedback_div, current_freq = 0, error, vco_diff;
uint32_t pll_in = pll->reference_freq / ref_div;
uint32_t min_feed_div = pll->min_feedback_div;
uint32_t max_feed_div = pll->max_feedback_div+1;