]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: core: increase default IPC timeouts
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Mon, 22 Jul 2019 14:13:46 +0000 (09:13 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jul 2019 11:19:11 +0000 (12:19 +0100)
commit112017e80fa6dc2aad6cf31567eed928022a1a59
treed7821b8d8e0ad421180e7f30091d87a2d75fadfc
parenta59fbfce2675d159c2631c5285273682179c41d2
ASoC: SOF: core: increase default IPC timeouts

Increase the default timeout values for boot (100ms to 2sec) and
IPC message sending (5ms to 500ms). The values should be overridden
with values from platform data.

There is no functional need to have such short timeouts as both boot
and IPC send errors are considered fatal errors. More relaxed timeouts
are convenient when running the driver on top of emulation such as QEMU.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190722141402.7194-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/core.c