firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-drivers_video_console...

13 lines
453 B
Diff

diff -drupN a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
--- a/drivers/video/console/fbcon.c 2018-08-06 17:23:04.000000000 +0300
+++ b/drivers/video/console/fbcon.c 2022-06-12 05:28:14.000000000 +0300
@@ -3030,7 +3030,7 @@ static int fbcon_fb_unbind(int idx)
for (i = first_fb_vc; i <= last_fb_vc; i++) {
if (con2fb_map[i] != idx &&
con2fb_map[i] != -1) {
- new_idx = i;
+ new_idx = con2fb_map[i];
break;
}
}