diff options
author | Lucas Tanure <tanureal@opensource.cirrus.com> | 2021-03-05 17:34:32 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-10 12:51:02 +0000 |
commit | 19325cfea04446bc79b36bffd4978af15f46a00e (patch) | |
tree | a9ba22019bcf59e68cd774e642482469cf1ea89a /sound/soc/codecs/cs42l42.h | |
parent | 15013240fcf791691f99c884802099db34c099b9 (diff) |
ASoC: cs42l42: Always wait at least 3ms after reset
This delay is part of the power-up sequence defined in the datasheet.
A runtime_resume is a power-up so must also include the delay.
Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210305173442.195740-6-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs42l42.h')
-rw-r--r-- | sound/soc/codecs/cs42l42.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs42l42.h b/sound/soc/codecs/cs42l42.h index 9b017b76828a..866d7c873e3c 100644 --- a/sound/soc/codecs/cs42l42.h +++ b/sound/soc/codecs/cs42l42.h @@ -740,6 +740,7 @@ #define CS42L42_FRAC2_VAL(val) (((val) & 0xff0000) >> 16) #define CS42L42_NUM_SUPPLIES 5 +#define CS42L42_BOOT_TIME_US 3000 static const char *const cs42l42_supply_names[CS42L42_NUM_SUPPLIES] = { "VA", |