]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: SOF: ipc3-loader: 'Handle' PROBE_INFO ext_manifest type when parsing
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 7 Nov 2024 12:03:06 +0000 (14:03 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 7 Nov 2024 13:03:23 +0000 (13:03 +0000)
Every time when the firmware is loaded we see the following printed in
info level:
unknown sof_ext_man header type 3 size 0x30

This is the PROBE_INFO element, which is not parsed, but it is not
something that we should treat as surprise, aka unknown type.

Add an empty case with a debug print to 'handle' this ext_manifest type and
silence the confusing print in kernel log.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Link: https://patch.msgid.link/20241107120306.30680-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc3-loader.c

index 35b89c2b9d4c02946b9f0a420eee02ed9ba817eb..7e9c76d5b2c91ccbff20b3184e3d919aef4c1b11 100644 (file)
@@ -193,6 +193,9 @@ static size_t sof_ipc3_fw_parse_ext_man(struct snd_sof_dev *sdev)
                case SOF_EXT_MAN_ELEM_CC_VERSION:
                        ret = ipc3_fw_ext_man_get_cc_info(sdev, elem_hdr);
                        break;
+               case SOF_EXT_MAN_ELEM_PROBE_INFO:
+                       dev_dbg(sdev->dev, "Probe info (not parsed)\n");
+                       break;
                case SOF_EXT_MAN_ELEM_DBG_ABI:
                        ret = ipc3_fw_ext_man_get_dbg_abi_info(sdev, elem_hdr);
                        break;