summaryrefslogtreecommitdiff
path: root/src/radeon_pm.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-04-16 16:43:02 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-04-16 16:43:02 -0400
commitefa1476fc0765b53298624198137dc5cc71d37a8 (patch)
tree250e4341363a291801687aba4415d15b3a6d3e3d /src/radeon_pm.c
parent2b95de17781959457a809c8fecc6bbb08336c83f (diff)
PM: fix reversed logic in pm block handler
Diffstat (limited to 'src/radeon_pm.c')
-rw-r--r--src/radeon_pm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radeon_pm.c b/src/radeon_pm.c
index 8147786b..bf8fecfc 100644
--- a/src/radeon_pm.c
+++ b/src/radeon_pm.c
@@ -788,8 +788,9 @@ void RADEONPMBlockHandler(ScrnInfoPtr pScrn)
}
if (i == xf86_config->num_crtc)
- RADEONSetStaticPowerMode(pScrn, POWER_HIGH);
- else
RADEONSetStaticPowerMode(pScrn, POWER_LOW);
+ else
+ RADEONSetStaticPowerMode(pScrn, POWER_HIGH);
+
}