summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Stephenson <stephensonmatt@google.com>2023-05-09 00:30:18 +0000
committerMatt Stephenson <stephensonmatt@google.com>2023-05-17 21:26:33 +0000
commitb1476992577a8f9f4953fe8006b2c649e6757b12 (patch)
treee6e496e00bc3bb9bba89f0f4c5cd02459657e87e
parent436a5ae7412f2e6fd86bbfed3cf026f4dc974c4d (diff)
downloadamplifiers-b1476992577a8f9f4953fe8006b2c649e6757b12.tar.gz
cs40l26: decrease auto suspend delay for hapticsandroid-wear-13.0.0_r0.3android-msm-eos-5.15-tm-wear-kr3-dr-eos
Decrease auto suspend delay to zero from 2 seconds. This should lead to a lower power draw and less time with haptics in a high power state. Test: idlcli Bug: 242116133 Change-Id: I99d4655b7b45ae690c744410a002fe328dd81fb4
-rw-r--r--cs40l26/cs40l26.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cs40l26/cs40l26.h b/cs40l26/cs40l26.h
index 6104b44..096014a 100644
--- a/cs40l26/cs40l26.h
+++ b/cs40l26/cs40l26.h
@@ -771,7 +771,7 @@
#define CS40L26_PM_TIMEOUT_TICKS_UPPER_SHIFT 24
#define CS40L26_PM_TICKS_MS_DIV 32
-#define CS40L26_AUTOSUSPEND_DELAY_MS 2000
+#define CS40L26_AUTOSUSPEND_DELAY_MS 0
#define CS40L26_WKSRC_STS_MASK GENMASK(9, 4)
#define CS40L26_WKSRC_STS_SHIFT 4