]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: mediatek: mt8195 change ipc timeout as 1 second
authorYC Hung <yc.hung@mediatek.com>
Tue, 26 Apr 2022 18:34:59 +0000 (13:34 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 27 Apr 2022 13:15:31 +0000 (14:15 +0100)
commitac12f879a7f9074e6dbc6d51ebb5957a018245b2
tree92ac923232258cf2fd3f227bed29def88dbfba71
parent4952c43653ce8f52327a8a96595332fb8d032864
ASoC: SOF: mediatek: mt8195 change ipc timeout as 1 second

The IPC message sending can take longer than the default 500ms during
system boot up due to the concurrent loading of different drivers.
Increase the IPC timeout to 1 second to avoid timeout errors due to
Linux load and scheduling.

Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: YC Hung <yc.hung@mediatek.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220426183459.102251-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/mediatek/mt8195/mt8195.c