]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: Intel: boards: fix HDMI playback lookup when HDMI-In capture used
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Wed, 12 Nov 2025 11:50:45 +0000 (19:50 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 12 Nov 2025 13:04:08 +0000 (13:04 +0000)
commit4d6e2211aeb932e096f673c88475016b1cc0f8ab
tree1f85cf39a217d2d882a49f6179e82bf22845055d
parent2b0d5d9b39489b9d8171896e8e24d8632c3dc807
ASoC: Intel: boards: fix HDMI playback lookup when HDMI-In capture used

In boards like adl_lt6911_hdmi_ssp/mtl_lt6911_hdmi_ssp/rpl_lt6911_hdmi_ssp,
HDMI is supported both for playback via normal HDA display codec,
as well as PCM capture from HDMI-In over I2S.

The common board driver function hda_dsp_hdmi_pcm_handle() has an
invalid assumption that "HDMI" is only used to identify playback HDMI
PCMs on the card. This will result in failures if HDMI-In PCMs are
defined in topology using the string "HDMI", and they are registered
before the playback PCMs.

Fix the issue by explicitly looking for FE playback PCMs.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20251112115045.337062-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/hda_dsp_common.c