Files
linux/drivers
Uwe Kleine-König 77e8afe23e backlight: grab ops_lock before testing bd->ops
commit d1d73578e0 upstream.

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09 13:33:16 -08:00
..
2010-09-28 23:30:38 -04:00
2010-10-13 15:43:10 -07:00
2010-09-19 22:43:42 -04:00
2010-08-24 15:28:28 +10:00
2010-12-09 13:33:16 -08:00
2010-09-26 15:54:25 +02:00
2010-11-22 11:03:15 -08:00
2010-12-09 13:33:13 -08:00
2010-06-16 18:08:32 +02:00
2010-06-01 12:04:35 -04:00
2010-06-16 18:05:05 +02:00
2010-09-22 16:21:33 +02:00
2010-07-26 08:05:31 -07:00