]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vt: add missing notification when switching back to text mode
authorNicolas Pitre <npitre@baylibre.com>
Wed, 11 Jun 2025 01:41:44 +0000 (21:41 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2025 11:27:16 +0000 (13:27 +0200)
commitff78538e07fa284ce08cbbcb0730daa91ed16722
treecf3f7b7fb75f12bb49644716e66f18cb04e38464
parente04c78d86a9699d136910cfc0bdcf01087e3267e
vt: add missing notification when switching back to text mode

Programs using poll() on /dev/vcsa to be notified when VT changes occur
were missing one case: the switch from gfx to text mode.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Link: https://lore.kernel.org/r/9o5ro928-0pp4-05rq-70p4-ro385n21n723@onlyvoer.pbz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c