diff options
| author | Aniket Randive <aniket.randive@oss.qualcomm.com> | 2026-07-06 15:07:49 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-10 14:44:34 +0200 |
| commit | acba38e675dd66f52925cb9edf9ed8db16335875 (patch) | |
| tree | e2959789406dc8db91f586246d91aef79f9dc44d /include/linux | |
| parent | d0cd9c8d0fd59bc7d140f3d60cf02e1d80376dab (diff) | |
serial: qcom_geni: Disable closing_wait for console to prevent shutdown timeout
During system power-off, systemd closes the console UART and blocks in
tty_wait_until_sent() waiting for pending TX completion before
uart_shutdown() can cancel pending TX operations. With the default
closing_wait of 30s, this causes a watchdog reset when systemd is
responsible for watchdog feeding.
Set closing_wait to ASYNC_CLOSING_WAIT_NONE in startup() for console
ports to bypass tty_wait_until_sent() on close, allowing uart_shutdown()
to cancel TX commands cleanly. This change doesn't impact regular ports
functionality.
Signed-off-by: Aniket Randive <aniket.randive@oss.qualcomm.com>
Link: https://patch.msgid.link/20260706093749.836121-1-aniket.randive@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
