summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorQiushi Wu <wu000273@umn.edu>2020-06-13 15:44:19 -0500
committerMark Brown <broonie@kernel.org>2020-06-17 14:04:02 +0100
commitdeca195383a6085be62cb453079e03e04d618d6e (patch)
tree53ff154c1c3aa4d02f8f43429439abc7b9c8bc32 /scripts/gdb/linux/lists.py
parent668b1508cf9e3dfd1bfad4f4906d1eaeae0a4015 (diff)
ASoC: tegra: Fix reference count leaks.
Calling pm_runtime_get_sync increments the counter even in case of failure, causing incorrect ref count if pm_runtime_put is not called in error handling paths. Call pm_runtime_put if pm_runtime_get_sync fails. Signed-off-by: Qiushi Wu <wu000273@umn.edu> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Link: https://lore.kernel.org/r/20200613204422.24484-1-wu000273@umn.edu Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions