summaryrefslogtreecommitdiff
path: root/drivers/video/stmp37xxfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/stmp37xxfb.c')
-rw-r--r--drivers/video/stmp37xxfb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/stmp37xxfb.c b/drivers/video/stmp37xxfb.c
index 07cbb27352e8..ff9e2d03722d 100644
--- a/drivers/video/stmp37xxfb.c
+++ b/drivers/video/stmp37xxfb.c
@@ -654,13 +654,13 @@ static int stmp3xxxfb_notifier(struct notifier_block *self,
/* REVISIT */
switch (phase) {
case CPUFREQ_PRECHANGE:
- if (old_state == F_ENABLE)
+ if (old_state == F_ENABLE || old_state == F_STARTUP)
if (pentry->blank_panel)
pentry->blank_panel(FB_BLANK_POWERDOWN);
break;
case CPUFREQ_POSTCHANGE:
- if (old_state == F_ENABLE)
+ if (old_state == F_ENABLE || old_state == F_STARTUP)
if (pentry->blank_panel)
pentry->blank_panel(FB_BLANK_UNBLANK);
break;