diff options
| -rw-r--r-- | sound/soc/soc-dapm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 0944bc4bd4a4..7f53d8662297 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
| @@ -3551,7 +3551,7 @@ int snd_soc_dapm_link_dai_widgets(struct snd_soc_card *card) | |||
| 3551 | break; | 3551 | break; |
| 3552 | } | 3552 | } |
| 3553 | 3553 | ||
| 3554 | if (!w->sname) | 3554 | if (!w->sname || !strstr(w->sname, dai_w->name)) |
| 3555 | continue; | 3555 | continue; |
| 3556 | 3556 | ||
| 3557 | if (dai->driver->playback.stream_name && | 3557 | if (dai->driver->playback.stream_name && |
