]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SDCA: Add completion for FDL start and stop
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 20 Oct 2025 15:55:09 +0000 (16:55 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Oct 2025 15:31:26 +0000 (15:31 +0000)
commit0723affa1bee50c3bd7ca00e00dee07fcef224b8
tree7ed1a0a090115a980afb8e2f6191cce020014cf5
parentaeaf27ec6571527e750eed84bb3865a0664ae316
ASoC: SDCA: Add completion for FDL start and stop

Add some completions and a helper function to allow other parts of the
system to wait for FDL to complete. The sdca_fdl_sync() function will
wait until it completes a full time out without a new FDL request
happening, this ensures that even parts requiring multiple rounds of FDL
should be fully downloaded before the driver boot continues.

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20251020155512.353774-17-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sdca_fdl.h
sound/soc/sdca/sdca_fdl.c