aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-07-09 16:07:22 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-07-09 16:07:22 +0100
commit4e66a0f536ad449a71de75bc81f4a830ef38d538 (patch)
treef6f7f4d9a351aa9e2fd07bec275785a533d8c21b /drivers/video/backlight
parent34f25476ace556263784ea2f8173e22b25557a13 (diff)
parent22fe84394f405c673b362d23dcc2d5d095ab5f6c (diff)
downloadkernel_goldelico_gta04-4e66a0f536ad449a71de75bc81f4a830ef38d538.zip
kernel_goldelico_gta04-4e66a0f536ad449a71de75bc81f4a830ef38d538.tar.gz
kernel_goldelico_gta04-4e66a0f536ad449a71de75bc81f4a830ef38d538.tar.bz2
Merge branch 'fix' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r--drivers/video/backlight/pwm_bl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c
index e641584..8871662 100644
--- a/drivers/video/backlight/pwm_bl.c
+++ b/drivers/video/backlight/pwm_bl.c
@@ -145,6 +145,8 @@ static int pwm_backlight_suspend(struct platform_device *pdev,
struct backlight_device *bl = platform_get_drvdata(pdev);
struct pwm_bl_data *pb = dev_get_drvdata(&bl->dev);
+ if (pb->notify)
+ pb->notify(0);
pwm_config(pb->pwm, 0, pb->period);
pwm_disable(pb->pwm);
return 0;