misc/apds990x: Add interrupt threshold to ALS sensor
authorjli127 <jian.d.li@intel.com>
Fri, 16 Mar 2012 07:08:09 +0000 (15:08 +0800)
committerbuildbot <buildbot@intel.com>
Thu, 22 Mar 2012 02:55:09 +0000 (19:55 -0700)
commit7501b4b21084bcd4d5245535aeb0f1e50d51e10e
treef973d5dc5fd5c6ba30d524424b856f9584559585
parent7b5ad83176d8b3c73bc3283c143784d56ddcb7b7
misc/apds990x: Add interrupt threshold to ALS sensor

BZ: 27698

ALS sensor reports interrupt even no output
data change. This patch add interrupt threshold
to ALS sensor, so sensor only reports interrupt
when report data changes.

Change-Id: I3d3cbb11ff0a8b36e1ba2f759b4adcefae6dbb10
Signed-off-by: jli127 <jian.d.li@intel.com>
Reviewed-on: http://android.intel.com:8080/39361
Reviewed-by: Yan, Leo <leo.yan@intel.com>
Reviewed-by: Liu, Hong <hong.liu@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/misc/apds990x.c