From ec2505f81cf9cb83c3da830795d84c6108928aad Mon Sep 17 00:00:00 2001 From: Markinus Date: Thu, 4 Nov 2010 18:50:10 +0100 Subject: [PATCH] htcleo: changed the LS polling to 5s. Liblights is using now internal mictop bl. The polling every second for backlight is much for the bus, so it's better to use the internal autobl functionality. The 5s is enough for other lightsensor applications. --- arch/arm/mach-msm/board-htcleo-ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-msm/board-htcleo-ls.c b/arch/arm/mach-msm/board-htcleo-ls.c index 206dff4c..c40d2b83 100644 --- a/arch/arm/mach-msm/board-htcleo-ls.c +++ b/arch/arm/mach-msm/board-htcleo-ls.c @@ -47,7 +47,7 @@ user may be able to adjust time in future //#define LSENSOR_ABLK_ONLY 2 -#define LSENSOR_POLL_PROMESHUTOK 1000 +#define LSENSOR_POLL_PROMESHUTOK 5000 #define D(x...) pr_debug(x) // pr_info(x)