diff options
| author | Miaoqian Lin <linmq006@gmail.com> | 2022-01-08 12:59:31 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-20 10:34:21 +0300 |
| commit | 1648c7b450d8f19367f32dfb452d4a854ddf5561 (patch) | |
| tree | ac92fe476794d8355cdbc35b570b703541d751af /tools/perf/scripts/python/bin | |
| parent | d712aea3cd81f0a42b266c765cc312b03fb55e6e (diff) | |
| download | linux-1648c7b450d8f19367f32dfb452d4a854ddf5561.tar.xz | |
soc: qcom: aoss: Fix missing put_device call in qmp_get
commit 4b41a9d0fe3db5f91078a380f62f0572c3ecf2dd upstream.
The reference taken by 'of_find_device_by_node()' must be released when
not needed anymore.
Add the corresponding 'put_device()' in the error handling paths.
Fixes: 8c75d585b931 ("soc: qcom: aoss: Expose send for generic usecase")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220108095931.21527-1-linmq006@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
