diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2018-09-21 09:46:28 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-21 18:21:03 +0200 |
commit | 0310820c2738e92003d9dd8cabee77ff958a16dc (patch) | |
tree | 680f709d16dda6e5d02f278753a3c4b099de1f0f /sound/soc/mediatek/mt2701/mt2701-wm8960.c | |
parent | ASoC: rt5663: Remove the boost volume in the beginning of playback (diff) | |
download | linux-0310820c2738e92003d9dd8cabee77ff958a16dc.tar.xz linux-0310820c2738e92003d9dd8cabee77ff958a16dc.zip |
ASoC: tidyup for_each_card_prelinks() dai_link
commit 7fe072b4df5d0 ("ASoC: add for_each_card_prelinks() macro")
added new for_each_card_prelinks() macro, but it had typo.
This patch fixup it
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt2701/mt2701-wm8960.c')
-rw-r--r-- | sound/soc/mediatek/mt2701/mt2701-wm8960.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/mediatek/mt2701/mt2701-wm8960.c b/sound/soc/mediatek/mt2701/mt2701-wm8960.c index c67f62935e53..6bc1d3d58e64 100644 --- a/sound/soc/mediatek/mt2701/mt2701-wm8960.c +++ b/sound/soc/mediatek/mt2701/mt2701-wm8960.c @@ -107,9 +107,9 @@ static int mt2701_wm8960_machine_probe(struct platform_device *pdev) return -EINVAL; } for_each_card_prelinks(card, i, dai_link) { - if (dai_links->platform_name) + if (dai_link->platform_name) continue; - dai_links->platform_of_node = platform_node; + dai_link->platform_of_node = platform_node; } card->dev = &pdev->dev; @@ -122,9 +122,9 @@ static int mt2701_wm8960_machine_probe(struct platform_device *pdev) return -EINVAL; } for_each_card_prelinks(card, i, dai_link) { - if (dai_links->codec_name) + if (dai_link->codec_name) continue; - dai_links->codec_of_node = codec_node; + dai_link->codec_of_node = codec_node; } ret = snd_soc_of_parse_audio_routing(card, "audio-routing"); |