fbcon: Don't reset logo_shown when logo is currently shown
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 6 May 2019 13:57:47 +0000 (15:57 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 6 May 2019 13:57:47 +0000 (15:57 +0200)
commit3c5a1b111373e669c8220803464c3a508a87e254
tree235f5ac4882557df8e17f1eb5faf5768e922e335
parent261ac4ddfa9f128b41665abaf8e0e10a8f9e6b33
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: 10993504d647 ("fbcon: Silence fbcon logo on 'quiet' boots")
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Yisheng Xie <ysxie@foxmail.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Marko Myllynen <myllynen@redhat.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/core/fbcon.c