]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe
authorwen yang <yellowriver2010@hotmail.com>
Sat, 2 Feb 2019 14:53:16 +0000 (14:53 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 4 Feb 2019 09:03:44 +0000 (10:03 +0100)
commit11907e9d3533648615db08140e3045b829d2c141
treebd93a90ab92f07a549e053be2490dd9258b70be4
parent411db2ab7df35804422e4b26c5849b3868e6a038
ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe

The of_find_device_by_node() takes a reference to the underlying device
structure, we should release that reference.

Signed-off-by: Wen Yang <yellowriver2010@hotmil.com>
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>
sound/soc/fsl/fsl-asoc-card.c