linux/sound/soc/generic
Shengjiu Wang 22a507d768
ASoC: simple-card-utils: Check device node before overwrite direction
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>
History 2026-01-05 13:14:44 +00:00
..
audio-graph-card.c ASoC: generic: audio-graph-card: convert to snd_soc_dapm_xxx() 2025-11-17 00:17:20 +00: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-sample1.dtsi ASoC: audio-graph-card2-custom-sample1.dtsi: Separate Sample DT 2025-03-03 12:59:52 +00:00
audio-graph-card2-custom-sample2.dtsi ASoC: audio-graph-card2-custom-sample2.dtsi: Separate Sample DT 2025-03-03 12:59:53 +00:00
audio-graph-card2.c ASoC: audio-graph-card2: use snd_soc_ret() 2025-02-06 17:26:24 +00:00
Kconfig ASoC: generic: Standardize ASoC menu 2025-06-24 01:01:36 +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-01-05 13:14:44 +00:00
simple-card.c ASoC: simple-card-utils: use snd_soc_ret() 2025-02-06 17:26:22 +00:00
test-component.c ASoC: test-component: Use kcalloc() instead of kzalloc() 2025-08-20 15:09:24 +01:00