diff options
author | Ajit Kumar Pandey <AjitKumar.Pandey@amd.com> | 2022-03-04 14:57:30 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-07 13:12:51 +0000 |
commit | 8e85cab858562734b9d323f392ba9956bbdc133c (patch) | |
tree | 3c375a5e36b8db072c527776f141f9110a996b33 /include/sound | |
parent | 7cf467ac9cf33f0975095f080a79f6ec6d9be5b6 (diff) |
ASoC: SOF: amd: Increase ACP_HW_SEM_RETRY_COUNT value
Host is trying to acquire semaphore lock based on HW_SEM_RETRY_COUNT
value which is set to 10 by default. So host will loop for 10 times
trying to acquire lock before giving error msg "Failed to acquire HW
lock". Though this loop count of 10 is good enough with most of the
times but we have observed such failure msg in very few cases(~5 %).
Increase ACP_HW_SEM_RETRY_COUNT to avoid such issue and loop for a
significant time period before throwing error. We're setting newer
loop count to quite higher value of 10K but it's very unlikely that
it will loop for this count, since for most of the cases lock will
get acquired at much lesser loop iterations.
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220304205733.62233-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions