ltr301: Add CH0/CH1 coefficient range 3
authorLeo Yan <leo.yan@intel.com>
Wed, 9 May 2012 05:16:17 +0000 (13:16 +0800)
committerbuildbot <buildbot@intel.com>
Fri, 11 May 2012 03:14:04 +0000 (20:14 -0700)
commit970294e3bac8b438b6338236cbd5ba66c1819ed0
tree8d48a553ca02821f7f77e2c938e804ba93b33f76
parent5702a3e54a33e9a2274b047fce2c8fd4d8f31d72
ltr301: Add CH0/CH1 coefficient range 3

BZ: 34482

Add CH0/CH1 coefficient range 3 for extremely incandescent light.
When device is in such kind of light, the raw data from CH1 register
is much more than CH0 and the ratio is greater than 85.

Change-Id: I3aee12b7ec65b0d39c9f37abbb221c5ca7644720
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/47931
Reviewed-by: Liu, Hong <hong.liu@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Tang, HaifengX <haifengx.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/input/misc/ltr301als.c