ASoC: SOF: Intel: remove circular dependency for
authorMark Brown <broonie@kernel.org>
Mon, 6 May 2024 15:31:25 +0000 (00:31 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 6 May 2024 15:31:25 +0000 (00:31 +0900)
commit6b045e2e21ed98be7b7b7ce75b64f25d9534f0ed
tree69116ae32ec15c69499f11f4bc821c8872582741
parentf283219b2736e3072adbd6c658bc0c41ca9d9d5d
parent6fe61f31eab1ec84c385786cd052415d966e5235
ASoC: SOF: Intel: remove circular dependency for

Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:

The SoundWire BPT support will rely on the HDaudio DMA. This exposes a
circular dependency module dependency which has to be resolved by
splitting common parts used by HDaudio and SoundWire parts, and
'generic' parts used by HDaudio only.

This patchset does not change any functionality, it just moves code
around, exposes symbols that are used in the new module. The code has
been in use for more than one kernel cycle already so it really
shouldn't break any existing platforms.

The main issue with such code moves is that it makes backports or
fixes more complicated. That's the main reason why we held back these
patches until we were reasonably confident on the maturity of MTL and
LNL drivers.
sound/soc/sof/intel/hda.c
sound/soc/sof/intel/hda.h