]> Gentwo Git Trees - linux/.git/commit
ASoC: Intel: avs: Drop pcm.h dependency for probes
authorCezary Rojewski <cezary.rojewski@intel.com>
Mon, 18 Aug 2025 10:41:24 +0000 (12:41 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 18 Aug 2025 12:10:06 +0000 (13:10 +0100)
commitdf36e5c197f31a105b8c8a70f13ebdf3a4c019d5
tree93787ab158730e4efa9195fbf5e11d4460b2ca70
parent62dc545be11d956419a21724de3810930db20d43
ASoC: Intel: avs: Drop pcm.h dependency for probes

The 'probe' machine board is not a typical one, it serves debug purpose
only and does not expect any kind of topology. The topology descriptor
pointer (acomp->tplg) is the only reason an avs-driver component would
utilize the pcm.c helpers and be described by a 'struct
avs_soc_component' instance rather than 'struct snd_soc_component' one.

Cut the line linking probes.c with pcm.h to avoid confusing readers.
And with that link gone, constify the component-driver again.

Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20250818104126.526442-3-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/probes.c