]> git.baikalelectronics.ru Git - kernel.git/commit
fsl-diu-fb: fix regression with uninitalized fb_info->mm_lock mutex
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Wed, 8 Jul 2009 19:59:17 +0000 (21:59 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Jul 2009 21:18:35 +0000 (14:18 -0700)
commit06c2e74740474221634ba926b04777dcbe1f23ed
tree499a08852e7090fb405386aca4ce32e8c9c35226
parentda47939d8a1cd94cea5653d09b4db1239f297add
fsl-diu-fb: fix regression with uninitalized fb_info->mm_lock mutex

Remove call to the fsl_diu_set_par before the register_framebuffer().

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

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Tested-by: "Kai Jiang" <b18973@freescale.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fsl-diu-fb.c