]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: Intel: avs: Use snd_codec format when initializing probe
authorCezary Rojewski <cezary.rojewski@intel.com>
Thu, 23 Oct 2025 09:23:48 +0000 (11:23 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 23 Oct 2025 12:42:27 +0000 (13:42 +0100)
commit64007ad3e2a0e0a0ded8b2c6a72c0bb7883d3a33
tree6bfa08226f74baf7216d62a4d866a6222bbad709
parent845f716dc5f354c719f6fda35048b6c2eca99331
ASoC: Intel: avs: Use snd_codec format when initializing probe

The data probing is a debug feature. Currently parameters channels and
rate specified by the application are read while the format is ignored.
More robust approach is to read all of them.

Audio format, while not used by the Probe module for PCM streaming,
takes part in the gateway initialization on the DSP side. With full
parametrization we gain better coverage with the data probing feature.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20251023092348.3119313-4-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/probes.c