diff options
author | Alan Cox <alan@linux.intel.com> | 2012-07-25 13:49:18 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-07-26 09:47:31 +0200 |
commit | af447bd358acd92a8e96b61a3bf7a55c61a642f4 (patch) | |
tree | 1a1aef815a5502fccff4f45f138c62df171f090a | |
parent | e8aeaee7b012f1cdb382765d17307445385aa87c (diff) | |
download | kernel_goldelico_gta04-af447bd358acd92a8e96b61a3bf7a55c61a642f4.zip kernel_goldelico_gta04-af447bd358acd92a8e96b61a3bf7a55c61a642f4.tar.gz kernel_goldelico_gta04-af447bd358acd92a8e96b61a3bf7a55c61a642f4.tar.bz2 |
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>
-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; |