diff options
| author | Abel Vesa <abel.vesa@oss.qualcomm.com> | 2026-08-28 17:32:17 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-09-23 14:34:07 +0200 |
| commit | 3098c989bd38edff871d798acd7f1d1b269f7edd (patch) | |
| tree | 45cd7f4c6f64b961d3e453789efbff36b4048111 /tools/lib/python | |
| parent | a8e8cf9bf446b65449c7bc39ad84956c347d5f9c (diff) | |
| download | linux-next-3098c989bd38edff871d798acd7f1d1b269f7edd.tar.gz linux-next-3098c989bd38edff871d798acd7f1d1b269f7edd.zip | |
serial: qcom-geni: Fix unbalanced runtime PM resume for no_console_suspend
When no_console_suspend is set for the serial console, the system
suspend callback skips pm_runtime_force_suspend() to keep the console
active. The resume callback still unconditionally calls
pm_runtime_force_resume(), which triggers an "Unbalanced
pm_runtime_enable!" warning.
Only force resume when the suspend callback force suspended the device.
Fixes: d0cd9c8d0fd5 ("serial: qcom-geni: add force suspend/resume to system sleep callbacks")
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Reviewed-by: Praveen Talari <praveen.talari@oss.qualcomm.com>
Tested-by: David Heidelberg <david@ixit.cz> # OnePlus 6T (sdm845)
Link: https://patch.msgid.link/20260828-serial-qcom-geni-fix-unbalanced-rpm-resume-v1-1-af3e5aef17a6@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
