linux-stable/sound/soc/generic
Liang He e5d0cc8e65 ASoC: audio-graph-card2: Add of_node_put() in fail path
[ Upstream commit 8ebc4dd825 ]

In asoc_simple_parse_dai(), we should call of_node_put() for the
reference returned by of_graph_get_port_parent() in fail path.

Fixes: 6e5f68fe3f ("ASoC: add Audio Graph Card2 driver")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220722141801.1304854-1-windhl@126.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 14:42:09 +02:00
..
audio-graph-card.c ASoC: audio-graph-card: Add of_node_put() in fail path 2022-08-17 14:42:09 +02:00
audio-graph-card2-custom-sample.c ASoC: add Audio Graph Card2 Custom Sample 2021-10-15 16:10:43 +01:00
audio-graph-card2-custom-sample.dtsi ASoC: audio-graph-card2-custom-sample.dtsi: add Codec2Codec sample (Multi) 2021-10-15 16:10:49 +01:00
audio-graph-card2.c ASoC: audio-graph-card2: Add of_node_put() in fail path 2022-08-17 14:42:09 +02:00
Kconfig ASoC: add Audio Graph Card2 Custom Sample 2021-10-15 16:10:43 +01:00
Makefile ASoC: add Audio Graph Card2 Custom Sample 2021-10-15 16:10:43 +01:00
simple-card-utils.c ASoC: simple-card-utils: fix sysclk shutdown 2022-04-20 14:25:11 +01:00
simple-card.c ASoC: simple-card: fix probe failure on platform component 2022-01-11 13:45:28 +00:00
test-component.c ASoC: test-component: fix null pointer dereference. 2021-12-09 12:31:50 +00:00