Skip to content
Snippets Groups Projects
Commit 67113124 authored by marble_hong's avatar marble_hong Committed by Eric1 Lin
Browse files

Common: sensors: update driver to PNI's SW release v5.79

The following changes are mainly for enhancing sensor stability.
01. Added 250 ms irq wakelock.
02. Added code to read SigMo from GP22 in front of FIFO from bits 2&3.
03. Ensures the AP system can't go into suspend during FIFO transaction: Instead
    of a wake lock (which could cause it to never go into suspend), PNI used a
    waitqueue that spins after an AP-suspend bit watching a FIFO read flag. The
    spin has a 5 second timeout to prevent it from completely blocking suspend.
04. Fixed FIFO pending always waiting on suspend even when no data.
05. Removed watermark meta event configuration on suspend/resume
    (reduced paramIO traffic).
06. Removed FIFO watermark adjustment on suspend/resume.
07. Simplified FIFO read procedure.
08. Changed FIFO flush waitqueue to timeout version.
09. Added version info and build date.
10. Removed the sentral time sync from wakeup events; will use system time.

Change-Id: Ibfd03d32aaf9889b6d6bf3263e2381f58745f118
Reviewed-on: http://mcrd1-22-pc.corpnet.asus/code-review/master/190607


Reviewed-by: default avatarmarble_hong <marble_hong@asus.com>
Tested-by: default avatarmarble_hong <marble_hong@asus.com>
Reviewed-by: default avatarEric1 Lin <Eric1_Lin@asus.com>
parent f00a5813
Branches
Tags android-wear-5.1.1_r0.12
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment