aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-spdif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/fsl/imx-spdif.c')
-rw-r--r--sound/soc/fsl/imx-spdif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/fsl/imx-spdif.c b/sound/soc/fsl/imx-spdif.c
index e1dc40143600..0c9068ebe1e7 100644
--- a/sound/soc/fsl/imx-spdif.c
+++ b/sound/soc/fsl/imx-spdif.c
@@ -74,8 +74,7 @@ static int imx_spdif_audio_probe(struct platform_device *pdev)
74 platform_set_drvdata(pdev, data); 74 platform_set_drvdata(pdev, data);
75 75
76end: 76end:
77 if (spdif_np) 77 of_node_put(spdif_np);
78 of_node_put(spdif_np);
79 78
80 return ret; 79 return ret;
81} 80}