Skip to contentSkip to conversation

intelfb: Fix bug in DPLL disable

PATCH New Antonino A. Daplas 1 participant 1 message Sep 15, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 intelfb: Fix bug in DPLL disable

Reported in Kernel Bugzilla 9006

Fix an obvious bug in DPLL disable.

---

 drivers/video/intelfb/intelfbhw.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/intelfb/intelfbhw.c +1 -1
index 16bc8d7..c6d1c7b 100644
@@ -1352,7 +1352,7 @@ #endif
 
 	/* turn off PLL */
 	tmp = INREG(dpll_reg);
-	dpll_reg &= ~DPLL_VCO_ENABLE;
+	tmp &= ~DPLL_VCO_ENABLE;
 	OUTREG(dpll_reg, tmp);
 
 	/* Set PLL parameters */

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/