summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2024-01-29 16:27:33 +0000
committerMark Brown <broonie@kernel.org>2024-02-01 12:57:26 +0000
commit9e92b77ceb6f362eb2e7995dad6c7f9863053d97 (patch)
treea81f1e933ef477d8c91ee93e15702c9b3ace7905 /include/sound
parent245eeff18d7a37693815250ae15979ce98c3d190 (diff)
downloadlinux-9e92b77ceb6f362eb2e7995dad6c7f9863053d97.tar.gz
linux-9e92b77ceb6f362eb2e7995dad6c7f9863053d97.tar.bz2
linux-9e92b77ceb6f362eb2e7995dad6c7f9863053d97.zip
ASoC: cs35l56: Allow more time for firmware to boot
The original 50ms timeout for firmware boot is not long enough for worst-case time to reboot after a firmware download. Increase the timeout to 250ms. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Fixes: e49611252900 ("ASoC: cs35l56: Add driver for Cirrus Logic CS35L56") Link: https://msgid.link/r/20240129162737.497-15-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/cs35l56.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/cs35l56.h b/include/sound/cs35l56.h
index 23da6298ab37..b24716ab2750 100644
--- a/include/sound/cs35l56.h
+++ b/include/sound/cs35l56.h
@@ -242,7 +242,7 @@
#define CS35L56_CONTROL_PORT_READY_US 2200
#define CS35L56_HALO_STATE_POLL_US 1000
-#define CS35L56_HALO_STATE_TIMEOUT_US 50000
+#define CS35L56_HALO_STATE_TIMEOUT_US 250000
#define CS35L56_RESET_PULSE_MIN_US 1100
#define CS35L56_WAKE_HOLD_TIME_US 1000