ASoC: core/topology/Intel:
authorMark Brown <broonie@kernel.org>
Fri, 20 Jun 2025 10:32:57 +0000 (11:32 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 20 Jun 2025 10:32:57 +0000 (11:32 +0100)
commit820e04cb8cae4904d670b5eca7feaeb07020debe
tree3bfb7e8211e7135d351a8c6406757492e7480e6c
parenta1d203d390e04798ccc1c3c06019cd4411885d6d
parentbb48117b79ebc39485f7306d09dc602981fe540f
ASoC: core/topology/Intel:

Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

There are devices where the iDisp HDA codec for HDMI is disconnected
and it is not present on the HDA bus.
This usually happens on systems with dGPU, but not limited to them.

How SOF tried to deal with this is to drop in a dummy codec in place of
the iDisp to allow the topology to be loaded, but these PCM devices are
unusable, they fail when user tries to use them.
PA/PW is probing the PCM devices on probe and that causes the kernel log
to fill up with errors, which is harmless but disturbing.

This series will use the filter function to prevent the creation of the
HDMI PCM devices in the first place (like HDA legacy stack will not
present HDMI devices if the codec is not visible).
The topology still loads, we still use dummy codec to satisfy it, but
there will be no dummy PCM devices created.

The first two patch handles the same issue that was discovered by the
ignored link: a NULL dereference.
I'm not sure if both is needed, but I felt that fixing it in one place
and leaving the other open might not be future proof.
If I would to pick one, I would likely go with the patch for the
soc-core.