summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/power.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-11-29 22:26:58 +0000
committerDave Airlie <airlied@redhat.com>2011-12-06 09:55:37 +0000
commit1f0d0b5183c8dd4d58678e8ba35553cabaf87390 (patch)
tree39627a64a010a1057097113be1298301f861edcf /drivers/gpu/drm/gma500/power.c
parent2357f7e61f4ca5789ce2ecbe44367acfe078a841 (diff)
downloadlinux-3.10-1f0d0b5183c8dd4d58678e8ba35553cabaf87390.tar.gz
linux-3.10-1f0d0b5183c8dd4d58678e8ba35553cabaf87390.tar.bz2
linux-3.10-1f0d0b5183c8dd4d58678e8ba35553cabaf87390.zip
gma500: Fix backlight crash
Initial changes to get backlight behaviour we want and to fix backlight crashes on suspend/resume paths. [Note: on some boxes this will now produce a warning about the backlight, this isn't a regression it's an unfixed but non harmful case I still need to nail] Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/power.c')
-rw-r--r--drivers/gpu/drm/gma500/power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/power.c b/drivers/gpu/drm/gma500/power.c
index 972bea7c1af..94025693bae 100644
--- a/drivers/gpu/drm/gma500/power.c
+++ b/drivers/gpu/drm/gma500/power.c
@@ -302,7 +302,7 @@ int psb_runtime_suspend(struct device *dev)
int psb_runtime_resume(struct device *dev)
{
- return 0;
+ return gma_power_resume(dev);;
}
int psb_runtime_idle(struct device *dev)