mx3fb: fix regression with uninitalized fb_info->mm_lock mutex
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Thu, 9 Jul 2009 18:14:10 +0000 (20:14 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Jul 2009 03:44:44 +0000 (20:44 -0700)
commit016d3569bf7b21375451d91be6ee2ad4ffff5211
tree18259a8f7542da30049db5581cda087d1054f36a
parentafecb0d02ad5554cb59c2a30c262da200beaa002
mx3fb: fix regression with uninitalized fb_info->mm_lock mutex

Remove call to the mx3fb_set_par() and the mx3fb_blank() before the
register_framebuffer().

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/mx3fb.c