]> git.baikalelectronics.ru Git - kernel.git/commit
w100fb: fix regression with uninitalized fb_info->mm_lock mutex
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Tue, 7 Jul 2009 17:24:54 +0000 (19:24 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Jul 2009 16:19:49 +0000 (09:19 -0700)
commit73a74acfd70edd8701d6d68c71841264e08bb0ad
tree8ffded592903f2581fcbc3ad22c2c7552d9d1f21
parent82e49de750fc4d98946af26e90303136328916a5
w100fb: fix regression with uninitalized fb_info->mm_lock mutex

Remove redundant call to the w100fb_set_par() before w100 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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/w100fb.c