diff options
author | Koro Chen <koro.chen@mediatek.com> | 2015-05-11 10:36:53 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-12 19:01:56 +0100 |
commit | fdb6eb0a12871d5bfaf266c5a0d5259a5437a72f (patch) | |
tree | b9705ad8193f8059284e88f2b74403c0b47a3fac /sound/last.c | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) | |
download | blackbird-op-linux-fdb6eb0a12871d5bfaf266c5a0d5259a5437a72f.tar.gz blackbird-op-linux-fdb6eb0a12871d5bfaf266c5a0d5259a5437a72f.zip |
ASoC: dapm: Modify widget stream name according to prefix
When there is prefix specified, currently we will add this prefix in
widget->name, but not in widget->sname.
it causes failure at snd_soc_dapm_link_dai_widgets:
if (!w->sname || !strstr(w->sname, dai_w->name))
because dai_w->name has prefix added, but w->sname does not.
We should also add prefix for stream name
Signed-off-by: Koro Chen <koro.chen@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/last.c')
0 files changed, 0 insertions, 0 deletions