summaryrefslogtreecommitdiff
path: root/sound/soc/sof/intel/hda-loader.c
diff options
context:
space:
mode:
authorFred Oh <fred.oh@linux.intel.com>2020-11-27 18:40:20 +0200
committerMark Brown <broonie@kernel.org>2020-11-27 17:23:05 +0000
commite3a85dbe30cf4c6904640da10e7dbd18c4ee7be7 (patch)
tree478334b379155620cdd3c8999210afdb68ab03d7 /sound/soc/sof/intel/hda-loader.c
parentedbaaada5c9b57e243a98bf5b442f3a7a43ed14d (diff)
downloadlwn-e3a85dbe30cf4c6904640da10e7dbd18c4ee7be7.tar.gz
lwn-e3a85dbe30cf4c6904640da10e7dbd18c4ee7be7.zip
ASoC: SOF: ext_manifest: parse cavs extra config data elem
OUTBOX_SIZE, INBOX_SIZE are defined but not being used yet. Handle these elements to avoid warning about unknown token type. Signed-off-by: Fred Oh <fred.oh@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://lore.kernel.org/r/20201127164022.2498406-4-kai.vehmanen@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/hda-loader.c')
-rw-r--r--sound/soc/sof/intel/hda-loader.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/soc/sof/intel/hda-loader.c b/sound/soc/sof/intel/hda-loader.c
index 73806223abd1..52101b1a3dac 100644
--- a/sound/soc/sof/intel/hda-loader.c
+++ b/sound/soc/sof/intel/hda-loader.c
@@ -498,8 +498,12 @@ int hda_dsp_ext_man_get_cavs_config_data(struct snd_sof_dev *sdev,
dev_dbg(sdev->dev, "FW clock config: %s\n",
hda->clk_config_lpro ? "LPRO" : "HPRO");
break;
+ case SOF_EXT_MAN_CAVS_CONFIG_OUTBOX_SIZE:
+ case SOF_EXT_MAN_CAVS_CONFIG_INBOX_SIZE:
+ /* These elements are defined but not being used yet. No warn is required */
+ break;
default:
- dev_warn(sdev->dev, "unsupported token type: %d\n",
+ dev_info(sdev->dev, "unsupported token type: %d\n",
config_data->elems[i].token);
}