OSDN Git Service

ASoC: imx-audmix: fix object reference leaks in probe
authorViorel Suman <viorel.suman@nxp.com>
Wed, 10 Apr 2019 11:06:38 +0000 (11:06 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 2 May 2019 01:46:14 +0000 (10:46 +0900)
commit8bb678d75954e9e5b9ecabfe95b20f650fd91edb
tree26722edb683d202409efbda78d1b9da291e7aa73
parenta2be42f18d409213bb7e7a736e3ef6ba005115bb
ASoC: imx-audmix: fix object reference leaks in probe

Release the reference to the underlying device taken
by of_find_device_by_node() call.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reported-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-audmix.c