diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-12 09:15:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-12 09:15:27 +0300 |
commit | 14d34d2dbbe2d9144a65bae1549202d1717062e2 (patch) | |
tree | 8d8a84be09fa898bdfdf14e7783cd6b42d6bb0ed /sound/soc/bcm/cygnus-ssp.c | |
parent | 3db53374405fbf7a474086ed984189f65b6f0008 (diff) | |
parent | d434405aaab7d0ebc516b68a8fc4100922d7f5ef (diff) | |
download | linux-14d34d2dbbe2d9144a65bae1549202d1717062e2.tar.xz |
Merge 5.12-rc7 into usb-next
We need the USB fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/soc/bcm/cygnus-ssp.c')
-rw-r--r-- | sound/soc/bcm/cygnus-ssp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/bcm/cygnus-ssp.c b/sound/soc/bcm/cygnus-ssp.c index 6e634b448293..aa16a2375134 100644 --- a/sound/soc/bcm/cygnus-ssp.c +++ b/sound/soc/bcm/cygnus-ssp.c @@ -1348,8 +1348,10 @@ static int cygnus_ssp_probe(struct platform_device *pdev) &cygnus_ssp_dai[active_port_count]); /* negative is err, 0 is active and good, 1 is disabled */ - if (err < 0) + if (err < 0) { + of_node_put(child_node); return err; + } else if (!err) { dev_dbg(dev, "Activating DAI: %s\n", cygnus_ssp_dai[active_port_count].name); |