]> git.alsa-project.org Git - alsa-lib.git/commitdiff
topology: Fix inaccurate message on failure to find a widgets's reference
authorMengdong Lin <mengdong.lin@linux.intel.com>
Fri, 22 Jul 2016 05:12:45 +0000 (13:12 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 Jul 2016 09:55:05 +0000 (11:55 +0200)
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>
src/topology/dapm.c

index 4d343b2fe2f4f43259729a7f2e8c4942a6844aa0..e3c90d83fb75d95ab9e1b68e02929750581de0f8 100644 (file)
@@ -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;