]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: Intel: avs: Honor NHLT override when setting up a path
authorCezary Rojewski <cezary.rojewski@intel.com>
Sat, 15 Nov 2025 18:06:27 +0000 (19:06 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 16 Nov 2025 23:59:05 +0000 (23:59 +0000)
commitd5c8b7902a41625ea328b52c78ebe750fbf6fef7
treec94cddb8f2b3cdaad16ddbfe713e02d0b3769c73
parentdd9896d41fdf1050934d6a46a1c5ca2164284e72
ASoC: Intel: avs: Honor NHLT override when setting up a path

In case topology provides NHLT configuration, use it instead of relying
on the table in ACPI tree. Only gateway-related modules e.g.: Copier
care about the process. For those the order of fetching for hardware
configuration becomes:

1) check if NHLT override is set,
2) check if NHLT descriptor override is set,
3) use NHLT from ACPI directly

Such approach ensures no conflicts exist between 1) and 2) and that 1)
always takes precedence.

Co-developed-by: Amadeusz Sławiński <amade@asmblr.net>
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20251115180627.3589520-3-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/uapi/sound/intel/avs/tokens.h
sound/soc/intel/avs/path.c
sound/soc/intel/avs/topology.c
sound/soc/intel/avs/topology.h