Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af447bd3 authored by Alan Cox's avatar Alan Cox Committed by Daniel Vetter
Browse files

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: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent e8aeaee7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;