[Pommed-commits] r538 - trunk/pommed/mactel
jblache at alioth.debian.org
jblache at alioth.debian.org
Mon Dec 29 12:22:15 UTC 2008
Author: jblache
Date: 2008-12-29 12:22:15 +0000 (Mon, 29 Dec 2008)
New Revision: 538
Modified:
trunk/pommed/mactel/gma950_backlight.c
trunk/pommed/mactel/x1600_backlight.c
Log:
Properly unmap the backlight register.
Modified: trunk/pommed/mactel/gma950_backlight.c
===================================================================
--- trunk/pommed/mactel/gma950_backlight.c 2008-12-29 11:16:04 UTC (rev 537)
+++ trunk/pommed/mactel/gma950_backlight.c 2008-12-29 12:22:15 UTC (rev 538)
@@ -230,7 +230,10 @@
}
if (lcd_bck_info.level == 0)
- return;
+ {
+ gma950_backlight_unmap();
+ return;
+ }
switch (lvl)
{
Modified: trunk/pommed/mactel/x1600_backlight.c
===================================================================
--- trunk/pommed/mactel/x1600_backlight.c 2008-12-29 11:16:04 UTC (rev 537)
+++ trunk/pommed/mactel/x1600_backlight.c 2008-12-29 12:22:15 UTC (rev 538)
@@ -195,7 +195,10 @@
}
if (lcd_bck_info.level == 0)
- return;
+ {
+ x1600_backlight_unmap();
+ return;
+ }
switch (lvl)
{
More information about the Pommed-commits
mailing list