]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fbdev: vga16fb: fix orig_video_isVGA confusion
authorZsolt Kajtar <soci@c64.rulez.org>
Sat, 18 Jan 2025 10:38:56 +0000 (11:38 +0100)
committerHelge Deller <deller@gmx.de>
Sun, 19 Jan 2025 21:33:52 +0000 (22:33 +0100)
commitc542a56aad1f88b88713293c128952feb1945301
treeceaf11f226d7b69ba8fd8a7e298e586c9682620b
parent3a48b38f48433accfc4e90409d88b9876ed74c8a
fbdev: vga16fb: fix orig_video_isVGA confusion

At some point the orig_video_isVGA field of screen_info was repurposed
for video type. Using it directly for video type check is unsafe as it can
still mean yes (1) or no-output (0) in certain configurations. I had one of those.

Signed-off-by: Zsolt Kajtar <soci@c64.rulez.org>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/vga16fb.c