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

Remove redundant call to the encode_fix() before i810 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/i810/i810_main.c