ASoC: SOF: topology: reduce the log level for unhandled widgets
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 24 Aug 2020 20:09:08 +0000 (15:09 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 25 Aug 2020 19:39:36 +0000 (20:39 +0100)
Virtual widgets are added to topology to be compatible with legacy
machine drivers. Reduce the log level for messages printed when
such widgets are ignored by the SOF driver.

Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200824200912.46852-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/topology.c

index 36dc87514dce4df6806977c2a690a384f92c55cc..707fbac3e64f81e2bda28c7ae10aefb0ea7e6e3c 100644 (file)
@@ -2374,8 +2374,7 @@ static int sof_widget_ready(struct snd_soc_component *scomp, int index,
        case snd_soc_dapm_dai_link:
        case snd_soc_dapm_kcontrol:
        default:
-               dev_warn(scomp->dev, "warning: widget type %d name %s not handled\n",
-                        swidget->id, tw->name);
+               dev_dbg(scomp->dev, "widget type %d name %s not handled\n", swidget->id, tw->name);
                break;
        }