Re: [PATCH 3/7] drivers: tty: Check CON_SUSPENDED instead of CON_ENABLED
From: Petr Mladek
Date: Thu Jun 12 2025 - 07:49:01 EST
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 by the 1st patch. Please,
merge it into the 1st patch to avoid regressions when bisecting.
Best Regards,
Petr