ltr502als.c: Change the ALS's first interrupt delay
authorLeo Yan <leo.yan@intel.com>
Wed, 14 Mar 2012 09:17:33 +0000 (17:17 +0800)
committerbuildbot <buildbot@intel.com>
Thu, 15 Mar 2012 08:54:50 +0000 (01:54 -0700)
commitbe1b7d11f68dec4f02e9e949102c7ce70fc5cb85
tree8d3d6070e6d6cc120b39ea6850d85192f322c666
parent97beddd05ca9b9a155bc34277587bfb26f8200d3
ltr502als.c: Change the ALS's first interrupt delay

BZ: 26367

In a dim environment, ALS need much more time to trigger the first
interrupt than in a bright environment when it's enabled. So we need
to increase the delay time to avert that delayed work reports a zero
if the device is not in a dark environment.

Change-Id: Ie45b8731d2b9a23a4512eb4a8150106008cbe079
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/38788
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/hwmon/ltr502als.c