diff options
-rw-r--r-- | sound/soc/soc-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 2783d2b00dba..b37ee8077ed1 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -1612,7 +1612,8 @@ static int snd_soc_instantiate_card(struct snd_soc_card *card) | |||
1612 | } | 1612 | } |
1613 | 1613 | ||
1614 | /* If this is a regular CPU link there will be a platform */ | 1614 | /* If this is a regular CPU link there will be a platform */ |
1615 | if (dai_fmt && dai_link->platform_name) { | 1615 | if (dai_fmt && |
1616 | (dai_link->platform_name || dai_link->platform_of_node)) { | ||
1616 | ret = snd_soc_dai_set_fmt(card->rtd[i].cpu_dai, | 1617 | ret = snd_soc_dai_set_fmt(card->rtd[i].cpu_dai, |
1617 | dai_fmt); | 1618 | dai_fmt); |
1618 | if (ret != 0 && ret != -ENOTSUPP) | 1619 | if (ret != 0 && ret != -ENOTSUPP) |