]> git.baikalelectronics.ru Git - kernel.git/commit
sisfb: fix regression with uninitalized fb_info->mm_lock mutex
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Mon, 6 Jul 2009 19:11:24 +0000 (21:11 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 Jul 2009 20:44:37 +0000 (13:44 -0700)
commita7a30246fbe7727666a3b6387c8944a4b2c6b18f
treeb711e0873325f5935e259a8e3796c22a6f618956
parent1945f20a84a51ba3c626c2bf21bca8859bcecee9
sisfb: fix regression with uninitalized fb_info->mm_lock mutex

Remove redundant call to the sisfb_get_fix() before sis frambuffer is
registered.

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: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/sis/sis_main.c