Guido Guenther
ce38cac482
[PATCH] rivafb/nvidiafb: race between register_framebuffer and *_bl_init
...
Since we now use the generic backlight infrastructure, I think we need to
call rivafb_bl_init before calling register_framebuffer since otherwise
rivafb_bl_init might race with the framebuffer layer already opening the
device and setting up the video mode. In this case we might end up with a
not yet fully intialized backlight (info->bl_dev still NULL) when calling
riva_bl_set_power via rivafb_set_par/rivafb_load_video_mode and the kernel
dies without any further notice during boot.
This fixes booting current git on a PB 6,1. In this case radeonfb/atyfb
would be affected too - I can fix that too but don't have any hardware to
test this on.
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-31 13:28:45 -07:00
..
2006-07-31 13:28:45 -07:00
2006-07-31 13:28:44 -07:00
2006-07-31 13:28:40 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-07-14 21:53:55 -07:00
2006-07-31 13:28:45 -07:00
2006-07-03 15:26:59 -07:00
2006-07-31 13:28:45 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-02 13:58:53 -07:00
2006-06-29 16:37:18 -07:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-06-29 16:37:18 -07:00
2006-06-29 16:37:18 -07:00
2006-06-29 16:37:18 -07:00
2006-07-10 13:24:20 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-31 13:28:44 -07:00
2006-07-10 13:24:16 -07:00
2006-06-26 09:58:31 -07:00
2006-07-31 13:28:44 -07:00
2006-07-10 13:24:16 -07:00
2006-06-26 09:58:32 -07:00
2006-06-29 16:37:18 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-31 13:28:45 -07:00
2006-06-29 16:37:18 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-06-26 09:58:31 -07:00
2006-07-31 13:28:44 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-06-29 16:37:18 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-02 13:58:53 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-02 13:58:53 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-06-29 16:37:18 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00