Commit 0c8ddf7f authored by Krzysztof Helt's avatar Krzysztof Helt Committed by Linus Torvalds
Browse files

i810fb: fix regression with uninitalized fb_info->mm_lock mutex

Remove redundant call to the encode_fix() before i810 frambuffer is

This fixes a problem with uninitialized the fb_info->mm_lock mutex
introduced by the commit 537a1bf0

 " fbdev: add mutex for fb_mmap
Signed-off-by: default avatarKrzysztof Helt <>
Signed-off-by: default avatarLinus Torvalds <>
parent e9bf0cc7
......@@ -2060,8 +2060,7 @@ static int __devinit i810fb_init_pci (struct pci_dev *dev,
fb_var_to_videomode(&mode, &info->var);
fb_add_videomode(&mode, &info->modelist);
encode_fix(&info->fix, info);
err = register_framebuffer(info);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment