OpenCloudOS-Kernel/drivers/video/backlight
Uwe Kleine-König d1d73578e0 backlight: grab ops_lock before testing bd->ops
According to the comment describing ops_lock in the definition of struct
backlight_device and when comparing with other functions in backlight.c
the mutex must be hold when checking ops to be non-NULL.

Fixes a problem added by c835ee7f41 ("backlight: Add suspend/resume
support to the backlight core") in Jan 2009.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Richard Purdie <rpurdie@linux.intel.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-25 06:50:47 +09:00
..
88pm860x_bl.c backlight: 88pm860x_bl: fix error handling in pm860x_backlight_probe 2010-05-26 17:34:37 +01:00
Kconfig backlight: Add pcf50633 backlight driver 2010-05-26 17:34:38 +01:00
Makefile backlight: Add pcf50633 backlight driver 2010-05-26 17:34:38 +01:00
adp5520_bl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
adp8860_bl.c drivers/video/backlight/adp8860_bl.c: check strict_strtoul() return value 2010-11-12 07:55:33 -08:00
adx_bl.c backlight: backlight_device_register() return ERR_PTR() 2010-05-26 13:08:31 +01:00
atmel-pwm-bl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
backlight.c backlight: grab ops_lock before testing bd->ops 2010-11-25 06:50:47 +09:00
corgi_lcd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cr_bllcd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
da903x_bl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ep93xx_bl.c backlight: Add Cirrus EP93xx backlight driver 2010-05-26 13:08:32 +01:00
generic_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
hp680_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
ili9320.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ili9320.h fb: add support for the ILI9320 video display controller 2008-07-24 10:47:40 -07:00
jornada720_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
jornada720_lcd.c backlight: Add HP Jornada 700 series LCD driver 2009-04-06 16:06:55 +01:00
kb3886_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
l4f00242t03.c backlight: fix blanking for L4F00242T03 LCD 2010-11-12 07:55:33 -08:00
lcd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
lms283gf05.c backlight: fix blanking for LMS283GF05 LCD 2010-11-12 07:55:33 -08:00
locomolcd.c update email address 2010-07-19 10:56:54 +02:00
ltv350qv.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ltv350qv.h backlight: Add Samsung LTV350QV LCD driver 2007-10-11 22:24:12 +01:00
max8925_bl.c backlight: max8925_bl: Fix error handling path 2010-05-26 17:34:36 +01:00
mbp_nvidia_bl.c backlight: MacBookAir3,1(3,2) mbp-nvidia-bl support 2010-11-12 07:55:33 -08:00
omap1_bl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pcf50633-backlight.c backlight: Add pcf50633 backlight driver 2010-05-26 17:34:38 +01:00
platform_lcd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
progear_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
pwm_bl.c backlight: add low threshold to pwm backlight 2010-11-12 07:55:33 -08:00
s6e63m0.c drivers/video/backlight/s6e63m0.c: fix section mismatch 2010-11-12 07:55:33 -08:00
s6e63m0_gamma.h backlight: add S6E63M0 AMOLED LCD Panel driver 2010-05-26 17:34:16 +01:00
tdo24m.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tosa_bl.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
tosa_lcd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vgg2432a4.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
wm831x_bl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00