android_kernel_samsung_a7y1.../sound/soc
Wen Yang 24946403cf ASoC: fsl_utils: fix a leaked reference by adding missing of_node_put
[ Upstream commit c705247136a523488eac806bd357c3e5d79a7acd ]

The call to of_parse_phandle returns a node pointer with refcount
incremented thus it must be explicitly decremented after the last
usage.

Detected by coccinelle with the following warnings:
./sound/soc/fsl/fsl_utils.c:74:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 38, but without a corresponding     object release within this function.

Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
Cc: Timur Tabi <timur@kernel.org>
Cc: Nicolin Chen <nicoleotsuka@gmail.com>
Cc: Xiubo Li <Xiubo.Lee@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: alsa-devel@alsa-project.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 18:20:04 +02:00
..
adi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
atmel A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
au1x A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bcm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blackfin A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cirrus A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
codecs ASoC: RT5677-SPI: Disable 16Bit SPI Transfers 2020-04-06 18:12:26 +02:00
davinci A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dwc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsl ASoC: fsl_utils: fix a leaked reference by adding missing of_node_put 2020-04-06 18:20:04 +02:00
generic A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
intel ASoC: Intel: avoid Oops if DMA setup fails 2020-04-06 16:43:16 +02:00
jz4740 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kirkwood A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mediatek A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mxs A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nuc900 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
omap A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pxa A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
qcom A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rockchip A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
samsung A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sh A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sirf A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
spear A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sti A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sunxi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tegra A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
txx9 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ux500 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xtensa A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
zte A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-ac97.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-cache.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-compress.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-dapm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-devres.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-generic-dmaengine-pcm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-io.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-jack.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-ops.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-pcm.c ASoC:soc-pcm:fix a codec fixup issue in TDM case 2020-04-06 16:42:51 +02:00
soc-topology.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc-utils.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30