]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: MTL: Reduce the DSP init timeout
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Fri, 15 Sep 2023 13:41:53 +0000 (16:41 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 12:56:56 +0000 (14:56 +0200)
commitee8bbb2a31d33c48eac4a8cdae846d699e6b5d02
tree98a6b7e5656dcc2f17a580ce819bdeb0a02a9c03
parent3608be186ae5197bb5b65c92e6eac88a0d37ddce
ASoC: SOF: Intel: MTL: Reduce the DSP init timeout

[ Upstream commit e0f96246c4402514acda040be19ee24c1619e01a ]

20s seems unnecessarily large for the DSP init timeout. This coupled with
multiple FW boot attempts causes an excessive delay in the error path when
booting in recovery mode. Reduce it to 0.5s and use the existing
HDA_DSP_INIT_TIMEOUT_US.

Link: https://github.com/thesofproject/linux/issues/4565
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230915134153.9688-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/sof/intel/mtl.c
sound/soc/sof/intel/mtl.h