diff options
author | Mark Brown <broonie@kernel.org> | 2019-05-21 23:00:33 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-05-21 23:00:33 +0200 |
commit | a41016e40378d19f7c9ced61856b8bed866e2dda (patch) | |
tree | d82aeb3f14ff95791ff165813fee90d3916df0aa /sound/soc/generic | |
parent | ASoC: soc-pcm: fixup try_module_get()/module_put() timing (diff) | |
parent | ASoC: Intel: sof-rt5682: fix AMP quirk support (diff) | |
download | linux-a41016e40378d19f7c9ced61856b8bed866e2dda.tar.xz linux-a41016e40378d19f7c9ced61856b8bed866e2dda.zip |
Merge branch 'for-5.2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.3
Diffstat (limited to 'sound/soc/generic')
-rw-r--r-- | sound/soc/generic/simple-card.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index d16e894fce2b..c2a2c5fd0801 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c @@ -283,11 +283,6 @@ static int simple_dai_link_of(struct asoc_simple_priv *priv, codec_dai = dai_props->codec_dai = &priv->dais[li->dais++]; - ret = asoc_simple_parse_daifmt(dev, node, codec, - prefix, &dai_link->dai_fmt); - if (ret < 0) - goto dai_link_of_err; - simple_parse_mclk_fs(top, cpu, codec, dai_props, prefix); ret = asoc_simple_parse_cpu(cpu, dai_link, &single_cpu); @@ -298,6 +293,11 @@ static int simple_dai_link_of(struct asoc_simple_priv *priv, if (ret < 0) goto dai_link_of_err; + ret = asoc_simple_parse_daifmt(dev, node, dai_link->codecs->of_node, + prefix, &dai_link->dai_fmt); + if (ret < 0) + goto dai_link_of_err; + ret = asoc_simple_parse_platform(plat, dai_link); if (ret < 0) goto dai_link_of_err; |