summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorZhang Qilong <zhangqilong3@huawei.com>2020-11-09 16:13:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-13 17:34:07 +0300
commit3952659a6108f77a0d062d8e8487bdbdaf52a66c (patch)
tree29757e6aa923fd8ceeae9b011aa9dee1074c171a /tools/perf/util/scripting-engines/trace-event-python.c
parentf4acd33c446b2ba97f1552a4da90050109d01ca7 (diff)
downloadlinux-3952659a6108f77a0d062d8e8487bdbdaf52a66c.tar.xz
staging: greybus: codecs: Fix reference counter leak in error handling
gb_pm_runtime_get_sync has increased the usage counter of the device here. Forgetting to call gb_pm_runtime_put_noidle will result in usage counter leak in the error branch of (gbcodec_hw_params and gbcodec_prepare). We fixed it by adding it. Fixes: c388ae7696992 ("greybus: audio: Update pm runtime support in dai_ops callback") Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com> Link: https://lore.kernel.org/r/20201109131347.1725288-2-zhangqilong3@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions