projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8758ae8
)
ASoC: Intel: avs: Update AVS_FW_INIT_TIMEOUT_US declaration
author
Cezary Rojewski
<cezary.rojewski@intel.com>
Thu, 7 Jul 2022 12:41:53 +0000
(14:41 +0200)
committer
Mark Brown
<broonie@kernel.org>
Fri, 8 Jul 2022 17:53:29 +0000
(18:53 +0100)
To reduce the number of places to update if timeouts would have to
change, modify the constant declaration.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link:
https://lore.kernel.org/r/20220707124153.1858249-13-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/loader.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/avs/loader.c
b/sound/soc/intel/avs/loader.c
index 542fd44aa501e5a65469f1926054c16d474d2914..9e3f8ff33a87ac85b47d4b2552bc801f295a99b7 100644
(file)
--- a/
sound/soc/intel/avs/loader.c
+++ b/
sound/soc/intel/avs/loader.c
@@
-27,8
+27,8
@@
#define APL_ROM_INIT_RETRIES 3
#define AVS_FW_INIT_POLLING_US 500
-#define AVS_FW_INIT_TIMEOUT_US 3000000
#define AVS_FW_INIT_TIMEOUT_MS 3000
+#define AVS_FW_INIT_TIMEOUT_US (AVS_FW_INIT_TIMEOUT_MS * 1000)
#define AVS_CLDMA_START_DELAY_MS 100