mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
513adb5868
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> |
||
---|---|---|
.. | ||
atmel-pwm-bl.c | ||
backlight.c | ||
corgi_lcd.c | ||
cr_bllcd.c | ||
da903x_bl.c | ||
generic_bl.c | ||
hp680_bl.c | ||
ili9320.c | ||
ili9320.h | ||
jornada720_bl.c | ||
jornada720_lcd.c | ||
kb3886_bl.c | ||
Kconfig | ||
lcd.c | ||
locomolcd.c | ||
ltv350qv.c | ||
ltv350qv.h | ||
Makefile | ||
mbp_nvidia_bl.c | ||
omap1_bl.c | ||
platform_lcd.c | ||
progear_bl.c | ||
pwm_bl.c | ||
tdo24m.c | ||
tosa_bl.c | ||
tosa_lcd.c | ||
vgg2432a4.c |