Re: [PATCH 3/7] drivers: tty: Check CON_SUSPENDED instead of CON_ENABLED

2025-06-12 Thread Petr Mladek
On Fri 2025-06-06 23:53:45, Marcos Paulo de Souza wrote: > All consoles found on for_each_console are registered, meaning that all of > them are CON_ENABLED. The code tries to find an active console, so check if > the > console is not suspended instead. This patch "fixes" a behavior change caused

[PATCH 3/7] drivers: tty: Check CON_SUSPENDED instead of CON_ENABLED

2025-06-06 Thread Marcos Paulo de Souza
All consoles found on for_each_console are registered, meaning that all of them are CON_ENABLED. The code tries to find an active console, so check if the console is not suspended instead. Signed-off-by: Marcos Paulo de Souza --- drivers/tty/tty_io.c | 2 +- 1 file changed, 1 insertion(+), 1 del