linux/sound/soc/mediatek/common
Chen-Yu Tsai b088b6189a
ASoC: mediatek: common: Switch to for_each_available_child_of_node_scoped()
Using for_each_available_child_of_node_scoped() allows us to get rid of
of_node_put() calls from early returns or breaks in the loop. It also
fixes issues with missing of_node_put() calls.

Switch to for_each_available_child_of_node_scoped() in parse_dai_link_info().
Also drop the braces around if blocks now that the inner block is just
one statement.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Fei Shao <fshao@chromium.org>
Message-ID: <20250825151111.3696404-1-wenst@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-08-28 11:08:33 +02:00
..
Makefile ASoC: mediatek: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:23 +09:00
mtk-afe-fe-dai.c ASoC: mediatek: Remove unused mtk_memif_set_rate 2025-02-03 14:03:41 +00:00
mtk-afe-fe-dai.h ASoC: mediatek: Remove unused mtk_memif_set_rate 2025-02-03 14:03:41 +00:00
mtk-afe-platform-driver.c ASoC: mediatek: use reserved memory or enable buffer pre-allocation 2025-06-12 13:45:35 +01:00
mtk-afe-platform-driver.h
mtk-base-afe.h ASoC: mediatek: use reserved memory or enable buffer pre-allocation 2025-06-12 13:45:35 +01:00
mtk-btcvsd.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
mtk-dai-adda-common.c
mtk-dai-adda-common.h
mtk-dsp-sof-common.c ASoC: mediatek: common: Constify struct mtk_sof_priv 2024-04-16 19:59:55 +09:00
mtk-dsp-sof-common.h ASoC: mediatek: common: Constify struct mtk_sof_priv 2024-04-16 19:59:55 +09:00
mtk-soc-card.h ASoC: mediatek: common: Handle mediatek,accdet property 2025-03-16 23:27:20 +00:00
mtk-soundcard-driver.c ASoC: mediatek: common: Switch to for_each_available_child_of_node_scoped() 2025-08-28 11:08:33 +02:00
mtk-soundcard-driver.h ASoC: mediatek: Add common snd_soc_ops .startup() callback 2024-04-16 19:59:59 +09:00