summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMengdong Lin <mengdong.lin@linux.intel.com>2016-07-22 13:12:45 +0800
committerTakashi Iwai <tiwai@suse.de>2016-07-25 11:55:05 +0200
commit776eb7fa5e705d46ac2cac517cdb69dc6c7d8f56 (patch)
tree5c3eff7c9d9f7e3cf0cd188b14842e44220a02e0
parentdf43c2d38047a6dd625e20b97ca6efb4fb0120a3 (diff)
downloadalsa-lib-776eb7fa5e705d46ac2cac517cdb69dc6c7d8f56.tar.gz
topology: Fix inaccurate message on failure to find a widgets's reference
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@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--src/topology/dapm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/topology/dapm.c b/src/topology/dapm.c
index 4d343b2f..e3c90d83 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;