Skip to content
Snippets Groups Projects
Commit 07d53a65 authored by Riadh GHADDAB's avatar Riadh GHADDAB Committed by jenkins_ndg
Browse files

sensors: fix false detections for proximity sensor

- This patch resolves the false detection issues due
  to a storm of interrupts coming from the proximity sensor
- It is achieved by changing the comparison logic to detect
  proximity and by initialize a proximity read on probe and
  on resume.
- A reconfiguration of the device is also added in the resume
  function
- Change deprecated function __cancel_scheduled_work

Change-Id: I35f881079fadecdc18fcb053247075858301e0e2
Tracked-On: https://jira01.devtools.intel.com/browse/AW-3821


Signed-off-by: default avatarRiadh GHADDAB <riadhx.ghaddab@intel.com>
Reviewed-on: https://android.intel.com/563252


Reviewed-by: default avatarjenkins_ndg <jenkins_ndg@intel.com>
Reviewed-by: default avatarDeverge, Jean-francoisX <jean-francoisx.deverge@intel.com>
Reviewed-by: default avatarRouis, KhalifaX <khalifax.rouis@intel.com>
Reviewed-by: default avatarDubray, SimonX <simonx.dubray@intel.com>
Reviewed-by: default avatarBride, Jacques <jacques.bride@intel.com>
Reviewed-by: default avatarTasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
parent c214c6f8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment