ASoC: imx-audmix: fix object reference leaks in probe
authorViorel Suman <viorel.suman@nxp.com>
Tue, 9 Apr 2019 10:43:05 +0000 (13:43 +0300)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitd6bf541d4e3b46e86f6132bb12b756b414f4d673
treee002b340277f954567d627753bffe9b28e88739b
parent66711dcd7dfa5a8a77e1bb53218ffe0d92d4996f
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>
sound/soc/fsl/imx-audmix.c