summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorVitaly Rodionov <vitalyr@opensource.cirrus.com>2024-02-16 13:11:57 +0300
committerMark Brown <broonie@kernel.org>2024-02-19 20:02:18 +0300
commit3b4ec34602c562fa8fa59dd8545ac7f3cdfc235e (patch)
treedb38f46cceb6c9c98e525d82f8960782ac391644 /include/sound
parente480c0991db00b24b39010bfd56eda5ec2417186 (diff)
downloadlinux-3b4ec34602c562fa8fa59dd8545ac7f3cdfc235e.tar.xz
ASoC: cs42l42: Remove redundant delays in suspend().
This patch will remove redundant delay and minimise total suspend() function call time. Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com> Link: https://msgid.link/r/20240216101157.23176-1-vitalyr@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/cs42l42.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/sound/cs42l42.h b/include/sound/cs42l42.h
index 3994e933db19..1bd8eee54f66 100644
--- a/include/sound/cs42l42.h
+++ b/include/sound/cs42l42.h
@@ -809,8 +809,7 @@
#define CS42L42_PLL_LOCK_TIMEOUT_US 1250
#define CS42L42_HP_ADC_EN_TIME_US 20000
#define CS42L42_PDN_DONE_POLL_US 1000
-#define CS42L42_PDN_DONE_TIMEOUT_US 200000
-#define CS42L42_PDN_DONE_TIME_MS 100
-#define CS42L42_FILT_DISCHARGE_TIME_MS 46
+#define CS42L42_PDN_DONE_TIMEOUT_US 235000
+#define CS42L42_PDN_DONE_TIME_MS 65
#endif /* __CS42L42_H */