ASoC: amd: acp: Add support for splitting the codec specific code from the ACP driver
authorMarian Postevca <posteuca@mutex.one>
Tue, 29 Aug 2023 22:01:15 +0000 (01:01 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 00:24:10 +0000 (01:24 +0100)
commitc680f57095411559e7605af689c7ce01f2281005
tree7d0ef63a3acfc4d08bf8178d70ff4bcb81d78225
parent869f30782cdad0a86598a700a864e4a2bf44f8cc
ASoC: amd: acp: Add support for splitting the codec specific code from the ACP driver

This commit adds support for splitting more complicated machine
drivers, that need special handling, from the generic ACP code.

By adding support for callbacks to configure and handle codec
specific implementation details, we can split them in separate
files that don't clutter the ACP code.

Signed-off-by: Marian Postevca <posteuca@mutex.one>
Link: https://lore.kernel.org/r/20230829220116.1159-5-posteuca@mutex.one
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-legacy-mach.c
sound/soc/amd/acp/acp-mach.h