]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: Intel: avs: Conditionally add DMA config when creating Copier
authorCezary Rojewski <cezary.rojewski@intel.com>
Mon, 7 Apr 2025 11:23:50 +0000 (13:23 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 7 Apr 2025 13:40:02 +0000 (14:40 +0100)
commit796b6ab6344e3650f0da92d6f2b8a7090fe6351d
tree973d119f953b82e05062049c503c174f7a9f9b2b
parent86b59ac80dc5a136bc434c12d37420486eba48cb
ASoC: Intel: avs: Conditionally add DMA config when creating Copier

Starting from LunarLake (LNL) platform, non-HDAudio transfers e.g.:
I2S/DMIC utilize HDAudio LINK DMA instead of GPDMA for the data
transfer. Implement avs_append_dma_cfg() to account for the changes made
in LNL timeframe.

The handler checks the platform and transfer type before appending the
DMA configuration to the module's payload so it can safely be called
within the common initialization flow for Copier/WHM modules.

Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Link: https://patch.msgid.link/20250407112352.3720779-9-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/messages.h
sound/soc/intel/avs/path.c