mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
fbcon: Don't reset logo_shown when logo is currently shown
When the logo is currently drawn on a virtual console, and the console
loglevel is reduced to quiet, logo_shown must be left alone, so that it
the scrolling region on that virtual console is properly reset.
Fixes: 10993504d6 ("fbcon: Silence fbcon logo on 'quiet' boots")
Signed-off-by: Andreas Schwab <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Cc: Yisheng Xie <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Marko Myllynen <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: Thierry Reding <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
261ac4ddfa
commit
3c5a1b1113
1 changed files with 1 additions and 1 deletions
|
|
@ -1069,7 +1069,7 @@ static void fbcon_init(struct vc_data *vc, int init)
|
|||
|
||||
cap = info->flags;
|
||||
|
||||
if (console_loglevel <= CONSOLE_LOGLEVEL_QUIET)
|
||||
if (logo_shown < 0 && console_loglevel <= CONSOLE_LOGLEVEL_QUIET)
|
||||
logo_shown = FBCON_LOGO_DONTSHOW;
|
||||
|
||||
if (vc != svc || logo_shown == FBCON_LOGO_DONTSHOW ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue