1
linux/drivers/video/backlight
Andrea Righi 513adb5868 fbdev: fix info->lock deadlock in fbcon_event_notify()
fb_notifier_call_chain() is called with info->lock held, i.e.  in
do_fb_ioctl() => FBIOPUT_VSCREENINFO => fb_set_var() and the some
notifier callbacks, like fbcon_event_notify(), try to re-acquire
info->lock again.

Remove the lock/unlock_fb_info() in all the framebuffer notifier
callbacks' and be sure to always call fb_notifier_call_chain() with
info->lock held.

Reported-by: Pavel Roskin <proski@gnu.org>
Reported-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-13 15:04:28 -07:00
..
atmel-pwm-bl.c
backlight.c fbdev: fix info->lock deadlock in fbcon_event_notify() 2009-04-13 15:04:28 -07:00
corgi_lcd.c [ARM] corgi_lcd: fix simultaneous compilation with corgi_bl 2008-10-29 11:45:37 +08:00
cr_bllcd.c backlight: crbllcd_bl - Use platform_device_register_simple() 2009-01-08 12:37:28 +00:00
da903x_bl.c drivers/video/backlight: rename da903x to da903x_bl 2009-02-05 12:56:48 -08:00
generic_bl.c backlight: Rename the corgi backlight driver to generic 2009-01-08 20:52:37 +00:00
hp680_bl.c backlight: hp680_bl - Use platform_device_register_simple() 2009-01-08 12:37:28 +00:00
ili9320.c
ili9320.h
jornada720_bl.c backlight: Adds HP Jornada 700 series backlight driver 2009-04-06 16:06:55 +01:00
jornada720_lcd.c backlight: Add HP Jornada 700 series LCD driver 2009-04-06 16:06:55 +01:00
kb3886_bl.c backlight: Add driver for Tabletkiosk Sahara TouchIT-213 Tablet PC 2008-10-21 00:19:49 +01:00
Kconfig backlight: Adds HP Jornada 700 series backlight driver 2009-04-06 16:06:55 +01:00
lcd.c fbdev: fix info->lock deadlock in fbcon_event_notify() 2009-04-13 15:04:28 -07:00
locomolcd.c
ltv350qv.c
ltv350qv.h
Makefile backlight: Adds HP Jornada 700 series backlight driver 2009-04-06 16:06:55 +01:00
mbp_nvidia_bl.c backlight: mbp_nvidia_bl - Add a debug switch 2009-04-06 16:06:55 +01:00
omap1_bl.c
platform_lcd.c
progear_bl.c backlight: progear_bl - Use platform_device_register_simple() 2009-01-08 12:37:28 +00:00
pwm_bl.c backlight: fix pwm_bl.c when multiple PWM backlights exist 2009-04-06 16:06:55 +01:00
tdo24m.c backlight: add support for Toppoly TDO35S series to tdo24m lcd driver 2009-01-08 20:11:07 +00:00
tosa_bl.c backlight: add support for Sharp SL-6000 LCD and backlight drivers 2008-10-21 00:19:49 +01:00
tosa_lcd.c backlight: Support VGA/QVGA mode switching in tosa_lcd 2009-01-08 12:37:28 +00:00
vgg2432a4.c backlight: Value of ILI9320_RGB_IF2 register should not be hardcoded 2009-01-08 12:37:28 +00:00