ASoC: tidyup for_each_card_prelinks() dai_link
Subsystems (3)
PATCH 1/1 ASoC: tidyup for_each_card_prelinks() dai_link
From: Kuninori Morimoto <[email protected]>
commit 7fe072b4df5d0 ("ASoC: add for_each_card_prelinks() macro") added new for_each_card_prelinks() macro, but it had typo. This patch fixup it
--- sound/soc/mediatek/mt2701/mt2701-cs42448.c | 8 ++++---- sound/soc/mediatek/mt2701/mt2701-wm8960.c | 8 ++++---- sound/soc/mediatek/mt6797/mt6797-mt6351.c | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-)
sound/soc/mediatek/mt2701/mt2701-cs42448.c +4 -4
@@ -311,9 +311,9 @@ static int mt2701_cs42448_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 = dev;
@@ -326,9 +326,9 @@ static int mt2701_cs42448_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; } codec_node_bt_mrg = of_parse_phandle(pdev->dev.of_node,
sound/soc/mediatek/mt2701/mt2701-wm8960.c +4 -4
@@ -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" );
sound/soc/mediatek/mt6797/mt6797-mt6351.c +3 -3
@@ -172,7 +172,7 @@ static int mt6797_mt6351_dev_probe(struct platform_device *pdev)for_each_card_prelinks (card, i, dai_link) {if (dai_link->platform_name)continue ; - dai_links->platform_of_node = platform_node; + dai_link->platform_of_node = platform_node; } codec_node = of_parse_phandle(pdev->dev.of_node,
@@ -183,9 +183,9 @@ static int mt6797_mt6351_dev_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 =devm_snd_soc_register_card (&pdev->dev, card);
Signature · 1 line
2.7.4
Mark Brown
maintainerApplied "ASoC: tidyup for_each_card_prelinks() dai_link" to the asoc tree
The patch
ASoC: tidyup for_each_card_prelinks() dai_link
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
0310820c2738e92003d9dd8cabee77ff958a16dcMon Sep 17 00:00:00 2001
From: Kuninori Morimoto <[email protected]>
Date: Fri, 21 Sep 2018 07:46:28 +0000
Subject: [PATCH] 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
--- sound/soc/mediatek/mt2701/mt2701-cs42448.c | 8 ++++---- sound/soc/mediatek/mt2701/mt2701-wm8960.c | 8 ++++---- sound/soc/mediatek/mt6797/mt6797-mt6351.c | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-)
sound/soc/mediatek/mt2701/mt2701-cs42448.c +4 -4
@@ -311,9 +311,9 @@ static int mt2701_cs42448_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 = dev;
@@ -326,9 +326,9 @@ static int mt2701_cs42448_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; } codec_node_bt_mrg = of_parse_phandle(pdev->dev.of_node,
sound/soc/mediatek/mt2701/mt2701-wm8960.c +4 -4
@@ -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" );
sound/soc/mediatek/mt6797/mt6797-mt6351.c +3 -3
@@ -172,7 +172,7 @@ static int mt6797_mt6351_dev_probe(struct platform_device *pdev)for_each_card_prelinks (card, i, dai_link) {if (dai_link->platform_name)continue ; - dai_links->platform_of_node = platform_node; + dai_link->platform_of_node = platform_node; } codec_node = of_parse_phandle(pdev->dev.of_node,
@@ -183,9 +183,9 @@ static int mt6797_mt6351_dev_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 =devm_snd_soc_register_card (&pdev->dev, card);
Signature · 1 line
2.19.0