diff options
| author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-09-23 19:57:43 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2024-09-27 12:39:02 +0100 |
| commit | d505d3593b52b6c43507f119572409087416ba28 (patch) | |
| tree | 3391d3018764aa325f4537c6b808f47150e04a4f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
| download | linux-d505d3593b52b6c43507f119572409087416ba28.tar.gz linux-d505d3593b52b6c43507f119572409087416ba28.zip | |
net: wwan: qcom_bam_dmux: Fix missing pm_runtime_disable()
It's important to undo pm_runtime_use_autosuspend() with
pm_runtime_dont_use_autosuspend() at driver exit time.
But the pm_runtime_disable() and pm_runtime_dont_use_autosuspend()
is missing in the error path for bam_dmux_probe(). So add it.
Found by code review. Compile-tested only.
Fixes: 21a0ffd9b38c ("net: wwan: Add Qualcomm BAM-DMUX WWAN network driver")
Suggested-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
