]> git.baikalelectronics.ru Git - kernel.git/commit
fbcon: initialize blink interval before calling fb_set_par
authorScot Doyle <lkml14@scotdoyle.com>
Fri, 9 Oct 2015 15:08:10 +0000 (15:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 05:00:39 +0000 (22:00 -0700)
commiteff82bbb8d131c1b295b20daeea9133d7230f8d2
treecd185b89595a7f325b136c5b28a10edd82158e56
parent3a80ba80fc9f4ee21e60388eab6329c386624350
fbcon: initialize blink interval before calling fb_set_par

Since commit eaa43ff8f0dc2b10aabe778f6ae8c4fa3f19da79
    fbcon: use the cursor blink interval provided by vt

a PPC64LE kernel fails to boot when fbcon_add_cursor_timer uses an
uninitialized ops->cur_blink_jiffies. Prevent by initializing
in fbcon_init before the call to info->fbops->fb_set_par.

Reported-and-tested-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Scot Doyle <lkml14@scotdoyle.com>
Cc: <stable@vger.kernel.org> [v4.2]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/video/console/fbcon.c