linux/sound/soc/generic
Shengjiu Wang 1d5c634789 ASoC: simple-card-utils: Check device node before overwrite direction
[ Upstream commit 22a507d768 ]

Even the device node don't exist, the graph_util_parse_link_direction()
will overwrite the playback_only and capture_only to be zero. Which
cause the playback_only and capture_only are not correct, so check device
node exist or not before update the value.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/20251229090432.3964848-1-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-02-11 13:40:22 +01:00
..
audio-graph-card.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
audio-graph-card2-custom-sample.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
audio-graph-card2-custom-sample.dtsi ASoC: audio-graph-card2-custom-sample: add CPU/Codec = N:M sample 2023-11-27 13:44:03 +00:00
audio-graph-card2.c ASoC: audio-graph-card: Call of_node_put() on correct node 2025-01-09 13:33:45 +01:00
Kconfig ASoC: add Audio Graph Card2 Custom Sample 2021-10-15 16:10:43 +01:00
Makefile ASoC: generic: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:19 +09:00
simple-card-utils.c ASoC: simple-card-utils: Check device node before overwrite direction 2026-02-11 13:40:22 +01:00
simple-card.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
test-component.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00