Re: [PATCH] ASoC: dapm: Modify widget stream name according to prefix

2015-05-12 Thread Mark Brown
On Mon, May 11, 2015 at 10:36:53AM +0800, Koro Chen wrote: > 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: Applied, thanks. signature.asc Description: Digital signature

[PATCH] ASoC: dapm: Modify widget stream name according to prefix

2015-05-10 Thread Koro Chen
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