aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2010-11-24 20:57:14 +0000
committerLinus Torvalds <[email protected]>2010-11-24 21:50:47 +0000
commitd1d73578e053b981c3611e5a211534290d24a5eb (patch)
tree3879428554320c30bc3ccfd0b217710e256ca36f /tools/perf/scripts/python
parentdrivers/misc/isl29020.c: remove incorrect kfree in isl29020_remove() (diff)
downloadkernel-d1d73578e053b981c3611e5a211534290d24a5eb.tar.gz
kernel-d1d73578e053b981c3611e5a211534290d24a5eb.zip
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 c835ee7f4154992e6 ("backlight: Add suspend/resume support to the backlight core") in Jan 2009. Signed-off-by: Uwe Kleine-König <[email protected]> Acked-by: Richard Purdie <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions