summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/mediatek/mt8195/mt8195.c
diff options
context:
space:
mode:
authorYC Hung <yc.hung@mediatek.com>2022-04-26 13:34:59 -0500
committerMark Brown <broonie@kernel.org>2022-04-27 14:15:31 +0100
commit5ab1679d6aab2e7855cd9241d4d832d1cda0ca46 (patch)
tree92ac923232258cf2fd3f227bed29def88dbfba71 /sound/soc/sof/mediatek/mt8195/mt8195.c
parentafe57ecab58b976c54fcbc31d718f936a0cc98cc (diff)
downloadlinux-stable-5ab1679d6aab2e7855cd9241d4d832d1cda0ca46.tar.gz
linux-stable-5ab1679d6aab2e7855cd9241d4d832d1cda0ca46.tar.bz2
linux-stable-5ab1679d6aab2e7855cd9241d4d832d1cda0ca46.zip
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>
Diffstat (limited to 'sound/soc/sof/mediatek/mt8195/mt8195.c')
-rw-r--r--sound/soc/sof/mediatek/mt8195/mt8195.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/mediatek/mt8195/mt8195.c b/sound/soc/sof/mediatek/mt8195/mt8195.c
index 90ec7b14823b..6216af2d2263 100644
--- a/sound/soc/sof/mediatek/mt8195/mt8195.c
+++ b/sound/soc/sof/mediatek/mt8195/mt8195.c
@@ -453,6 +453,7 @@ static const struct sof_dev_desc sof_of_mt8195_desc = {
},
.nocodec_tplg_filename = "sof-mt8195-nocodec.tplg",
.ops = &sof_mt8195_ops,
+ .ipc_timeout = 1000,
};
static const struct of_device_id sof_of_mt8195_ids[] = {