diff options
author | Alan Cox <alan@linux.intel.com> | 2012-07-25 12:49:18 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-07-26 07:47:31 (GMT) |
commit | af447bd358acd92a8e96b61a3bf7a55c61a642f4 (patch) | |
tree | 1a1aef815a5502fccff4f45f138c62df171f090a /drivers | |
parent | e8aeaee7b012f1cdb382765d17307445385aa87c (diff) | |
download | linux-fsl-qoriq-af447bd358acd92a8e96b61a3bf7a55c61a642f4.tar.xz |
vlv: it might be wise if we initialised the flag value...
Otherwise our initial behaviour is "randomly save a bogus PLL
choice" as far as I can see.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index e9e476e..3d969ab 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -869,6 +869,7 @@ intel_vlv_find_best_pll(const intel_limit_t *limit, struct drm_crtc *crtc, unsigned long bestppm, ppm, absppm; int dotclk, flag; + flag = 0; dotclk = target * 1000; bestppm = 1000000; ppm = absppm = 0; |