aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorLiliang Ye <[email protected]>2023-04-03 23:26:47 +0800
committerMark Brown <[email protected]>2023-04-17 20:16:26 +0100
commit1c34890273a020d61d6127ade3f68ed1cb21c16a (patch)
tree75d7c915a74a05bb4c00e274b55d77f031e70a83 /drivers/usb/cdns3/cdns3-debug.h
parent97c236e2d4628bddbd1ac5877da030f9be291d30 (diff)
ASoC: fsl_mqs: move of_node_put() to the correct location
of_node_put() should have been done directly after mqs_priv->regmap = syscon_node_to_regmap(gpr_np); otherwise it creates a reference leak on the success path. To fix this, of_node_put() is moved to the correct location, and change all the gotos to direct returns. Fixes: a9d273671440 ("ASoC: fsl_mqs: Fix error handling in probe") Signed-off-by: Liliang Ye <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions