Re: [PATCH] serial: qcom-geni: Fix unbalanced runtime PM resume for no_console_suspend
From: David Heidelberg
Date: Thu Sep 17 2026 - 18:33:36 EST
On 28/08/2026 16:32, Abel Vesa wrote:
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@xxxxxxxxxxxxxxxx>
---
drivers/tty/serial/qcom_geni_serial.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Seen the same "Unbalanced pm_runtime_enable!" on every resume with
no_console_suspend on OnePlus 6T; gone with this patch.
Tested-by: David Heidelberg <david@xxxxxxx> # OnePlus 6T (sdm845)