diff options
author | Mark Brown <broonie@kernel.org> | 2016-03-13 15:16:19 +0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-03-13 15:16:19 +0700 |
commit | 977011ea0cf28549d55986e5a7855b6b57b07988 (patch) | |
tree | 6ae2eb0eb2a2a7414d1641abbe896314d26a8fa6 /sound/soc | |
parent | e87fb3b117e25833ff9349412f29b99b203531a6 (diff) | |
parent | 513cb31120fb5a5b02d9e42eb1d0a0bf05e227c5 (diff) | |
download | linux-977011ea0cf28549d55986e5a7855b6b57b07988.tar.bz2 |
Merge remote-tracking branch 'asoc/topic/core' into asoc-next
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/soc-core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 790ee2bf1a47..d2e62b159610 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -986,16 +986,16 @@ static int soc_bind_dai_link(struct snd_soc_card *card, dev_dbg(card->dev, "ASoC: binding %s\n", dai_link->name); - rtd = soc_new_pcm_runtime(card, dai_link); - if (!rtd) - return -ENOMEM; - if (soc_is_dai_link_bound(card, dai_link)) { dev_dbg(card->dev, "ASoC: dai link %s already bound\n", dai_link->name); return 0; } + rtd = soc_new_pcm_runtime(card, dai_link); + if (!rtd) + return -ENOMEM; + cpu_dai_component.name = dai_link->cpu_name; cpu_dai_component.of_node = dai_link->cpu_of_node; cpu_dai_component.dai_name = dai_link->cpu_dai_name; |