matroxfb: fix regression with uninitalized fb_info->mm_lock mutex (second head)
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Tue, 7 Jul 2009 20:34:13 +0000 (22:34 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Jul 2009 16:19:50 +0000 (09:19 -0700)
commit99f5d48b98fb52db6da379c1b1fd6c87438ee45a
tree4144f5f470ed6679bd8183971c214acf5d2fe87f
parentd7272e5bd9ead4389849db9749b8c4dabd459dd1
matroxfb: fix regression with uninitalized fb_info->mm_lock mutex (second head)

Remove redundant locking by the mm_lock mutex before a second head of
matrox framebuffer is registered.

This fixes a problem with uninitialized the fb_info->mm_lock mutex
introduced by the commit 537a1bf059f " fbdev: add mutex for fb_mmap
locking"

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/matrox/matroxfb_crtc2.c