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

matroxfb: fix regression with uninitalized fb_info->mm_lock mutex

Remove redundant call to the matroxfb_update_fix() before matrox
frambuffer is registered.

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 f1b9c339
......@@ -1876,7 +1876,6 @@ static int initMatrox2(WPMINFO struct board* b){
ACCESS_FBINFO(fbcon.screen_base) = vaddr_va(ACCESS_FBINFO(video.vbase));
/* Normalize values (namely yres_virtual) */
matroxfb_check_var(&vesafb_defined, &ACCESS_FBINFO(fbcon));
/* And put it into "current" var. Do NOT program hardware yet, or we'll not take over
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