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)
commit2757970f6d0d0a112247600b23d38c0c728ceeb3
tree9c8f3bec992f37345172a7d8810c7c4726128e8e
parentfb13f19d102ee47c0f27fda70387052a3fd3e656
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: f0fba2ad1b6b ("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