提交 215b031b 编写于 作者: L Linus Torvalds

Merge tag 'fbdev-fixes-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux

Pull fbdev fix from Tomi Valkeinen:
 "Fix hang caused by fbconsole blink timer"

* tag 'fbdev-fixes-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux:
  fbcon: set a default value to blink interval
...@@ -709,6 +709,7 @@ static int con2fb_acquire_newinfo(struct vc_data *vc, struct fb_info *info, ...@@ -709,6 +709,7 @@ static int con2fb_acquire_newinfo(struct vc_data *vc, struct fb_info *info,
} }
if (!err) { if (!err) {
ops->cur_blink_jiffies = HZ / 5;
info->fbcon_par = ops; info->fbcon_par = ops;
if (vc) if (vc)
...@@ -956,6 +957,7 @@ static const char *fbcon_startup(void) ...@@ -956,6 +957,7 @@ static const char *fbcon_startup(void)
ops->currcon = -1; ops->currcon = -1;
ops->graphics = 1; ops->graphics = 1;
ops->cur_rotate = -1; ops->cur_rotate = -1;
ops->cur_blink_jiffies = HZ / 5;
info->fbcon_par = ops; info->fbcon_par = ops;
p->con_rotate = initial_rotation; p->con_rotate = initial_rotation;
set_blitting_type(vc, info); set_blitting_type(vc, info);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册