Merge tag 'asoc-v5.18' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[linux-2.6-microblaze.git] / sound / soc / codecs / wcd934x.c
index 40b4148..1e75e93 100644 (file)
@@ -5886,6 +5886,7 @@ static int wcd934x_codec_parse_data(struct wcd934x_codec *wcd)
        }
 
        wcd->sidev = of_slim_get_device(wcd->sdev->ctrl, ifc_dev_np);
+       of_node_put(ifc_dev_np);
        if (!wcd->sidev) {
                dev_err(dev, "Unable to get SLIM Interface device\n");
                return -EINVAL;