Merge "samsung: hardware: add support for adaptive backlight" into cm-10.2
diff --git a/exynos4/exynos4210/liblights/lights.c b/exynos4/exynos4210/liblights/lights.c
index 2d22b7c..7be7d7b 100644
--- a/exynos4/exynos4210/liblights/lights.c
+++ b/exynos4/exynos4210/liblights/lights.c
@@ -262,10 +262,10 @@
     pthread_mutex_lock(&g_lock);
     if (brightness > 0) {
         ALOGD("set_light_buttons on=%d\n", g_enable_touchlight ? 1 : 0);
-        err = write_int(BUTTON_FILE, g_enable_touchlight ? 1 : 0);
+        err = write_int(BUTTON_FILE, g_enable_touchlight ? 1 : 2);
     } else {
         ALOGD("set_light_buttons off\n");
-        err = write_int(BUTTON_FILE, 0);
+        err = write_int(BUTTON_FILE, 2);
     }
     pthread_mutex_unlock(&g_lock);