]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] backlight: fix oops in __mutex_lock_slowpath during head /sys/class/graphics...
authorMichael Hanselmann <linux-kernel@hansmi.ch>
Mon, 25 Sep 2006 23:25:07 +0000 (16:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 00:38:36 +0000 (17:38 -0700)
commit25981de5b836581364612a4b1fe27db3b5d1f861
tree6dc66d33c8ffaca1faf84bca4707db429548422f
parentf3ef9ead31ae995251b420ac98398bd7545bf4e1
[PATCH] backlight: fix oops in __mutex_lock_slowpath during head /sys/class/graphics/fb0/*

Seems like not all drivers use the framebuffer_alloc() function and won't
have an initialized mutex.  But those don't have a backlight, anyway.

Signed-off-by: Michael Hanselmann <linux-kernel@hansmi.ch>
Cc: Olaf Hering <olaf@aepfle.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Daniel R Thompson <daniel.thompson@st.com>
Cc: Jon Smirl <jonsmirl@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/fbsysfs.c