]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl: Fix of-node refcount unbalance in fsl_ssi_probe_from_dt()
authorTakashi Iwai <tiwai@suse.de>
Tue, 19 Feb 2019 15:46:47 +0000 (16:46 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 20 Feb 2019 12:02:50 +0000 (12:02 +0000)
commit8a4e4e57e6fc7096733cb409173043bd2857e74c
tree9c8f3bec992f37345172a7d8810c7c4726128e8e
parent0a253597747593ca691728cd379eabed9206ae97
ASoC: fsl: Fix of-node refcount unbalance in fsl_ssi_probe_from_dt()

The node obtained from of_find_node_by_path() has to be unreferenced
after the use, but we forgot it for the root node.

Fixes: 41912c7f60e3 ("ASoC: multi-component - ASoC Multi-Component Support")
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_ssi.c