OpenCloudOS-Kernel/sound/soc/loongson
tangbin f606b9ac4a ASoC: loongson: fix error release
[ Upstream commit 97688a9c5b1fd2b826c682cdfa36d411a5c99828 ]

In function loongson_card_parse_of(), when get device_node
'codec' failed, the function of_node_put(codec) should not
be invoked, thus fix error release.

Fixes: d24028606e ("ASoC: loongson: Add Loongson ASoC Sound Card Support")
Signed-off-by: tangbin <tangbin@cmss.chinamobile.com>
Link: https://patch.msgid.link/20240903090620.6276-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-04 16:29:05 +02:00
..
Kconfig ASoC: loongson: add PCI dependency 2023-06-16 12:56:08 +01:00
Makefile
loongson_card.c ASoC: loongson: fix error release 2024-10-04 16:29:05 +02:00
loongson_dma.c
loongson_dma.h
loongson_i2s.c ASoC: loongson: merge DAI call back functions into ops 2023-08-14 13:10:28 +01:00
loongson_i2s.h ASoC: loongson: change the type of variable irq to int 2023-06-19 12:59:33 +01:00
loongson_i2s_pci.c ASoC: loongson: fix address space confusion 2023-06-22 18:02:06 +01:00