[alsa-devel] [PATCH v2 1/2] topology: Fix inaccurate message on failure to find a widgets's reference
mengdong.lin at linux.intel.com
mengdong.lin at linux.intel.com
Fri Jul 22 03:46:54 CEST 2016
From: Mengdong Lin <mengdong.lin at linux.intel.com>
A widget may have references to control or data elements. So the message
should not only use "control" here.
Signed-off-by: Mengdong Lin <mengdong.lin at linux.intel.com>
diff --git a/src/topology/dapm.c b/src/topology/dapm.c
index 4d343b2..e3c90d8 100644
--- a/src/topology/dapm.c
+++ b/src/topology/dapm.c
@@ -201,7 +201,7 @@ static int tplg_build_widget(snd_tplg_t *tplg,
}
if (!ref->elem) {
- SNDERR("error: cannot find control '%s'"
+ SNDERR("error: cannot find '%s'"
" referenced by widget '%s'\n",
ref->id, elem->id);
return -EINVAL;
--
2.5.0
More information about the Alsa-devel
mailing list