summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/avs
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2022-07-07 14:41:53 +0200
committerMark Brown <broonie@kernel.org>2022-07-08 18:53:29 +0100
commitf1eea11523e4394d6670f10a51356e9b7c8567a8 (patch)
treefd980391ecc7e69eb0d257b1dfeea653e832f330 /sound/soc/intel/avs
parent8758ae88f0f4ade16e6a1b709eb5ea7271f62320 (diff)
downloadlinux-stable-f1eea11523e4394d6670f10a51356e9b7c8567a8.tar.gz
linux-stable-f1eea11523e4394d6670f10a51356e9b7c8567a8.tar.bz2
linux-stable-f1eea11523e4394d6670f10a51356e9b7c8567a8.zip
ASoC: Intel: avs: Update AVS_FW_INIT_TIMEOUT_US declaration
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>
Diffstat (limited to 'sound/soc/intel/avs')
-rw-r--r--sound/soc/intel/avs/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/avs/loader.c b/sound/soc/intel/avs/loader.c
index 542fd44aa501..9e3f8ff33a87 100644
--- 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