Commit 5ab1679d authored by YC Hung's avatar YC Hung Committed by Mark Brown

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: default avatarCurtis Malainey <cujomalainey@chromium.org>
Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: default avatarPéter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: default avatarYC Hung <yc.hung@mediatek.com>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220426183459.102251-1-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent afe57eca
...@@ -453,6 +453,7 @@ static const struct sof_dev_desc sof_of_mt8195_desc = { ...@@ -453,6 +453,7 @@ static const struct sof_dev_desc sof_of_mt8195_desc = {
}, },
.nocodec_tplg_filename = "sof-mt8195-nocodec.tplg", .nocodec_tplg_filename = "sof-mt8195-nocodec.tplg",
.ops = &sof_mt8195_ops, .ops = &sof_mt8195_ops,
.ipc_timeout = 1000,
}; };
static const struct of_device_id sof_of_mt8195_ids[] = { static const struct of_device_id sof_of_mt8195_ids[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment