]> git.baikalelectronics.ru Git - kernel.git/commit
backlight/fbcon: Add FB_EVENT_CONBLANK
authorRichard Purdie <rpurdie@rpsys.net>
Fri, 9 Feb 2007 09:46:45 +0000 (09:46 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Tue, 20 Feb 2007 08:38:45 +0000 (08:38 +0000)
commitffafae0bd618097ff60cb695dcfd20ede1e4afc1
tree2b2668df970fe350ce2ab4a7bb7ae91d6313ce0f
parent285b8e61bde06cd3fdf712696e15623b72f72bb8
backlight/fbcon: Add FB_EVENT_CONBLANK

The backlight class wants notification whenever the console is blanked
but doesn't get this when hardware blanking fails and software blanking
is used. Changing FB_EVENT_BLANK to report both would be a behaviour
change which could confuse the console layer so add a new event for
software blanking and have the backlight class listen for both.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
drivers/video/backlight/backlight.c
drivers/video/console/fbcon.c
include/linux/fb.h