Fix wakeup problem on at least xdandroid
This commit is contained in:
parent
19554876c1
commit
0a2ce91df6
@ -465,7 +465,7 @@ static int display_notifier_callback(struct notifier_block *nfb,
|
||||
switch (action) {
|
||||
case NOTIFY_MSM_FB:
|
||||
printk(KERN_DEBUG "NOTIFY_MSM_FB\n");
|
||||
//msmfb_resume(&msm_fb->early_suspend);
|
||||
msmfb_resume(&msm_fb->early_suspend);
|
||||
break;
|
||||
case NOTIFY_POWER:
|
||||
/* nothing to do */
|
||||
|
@ -60,7 +60,7 @@ void start_drawing_late_resume(struct early_suspend *h)
|
||||
static struct early_suspend stop_drawing_early_suspend_desc = {
|
||||
.level = EARLY_SUSPEND_LEVEL_STOP_DRAWING,
|
||||
.suspend = stop_drawing_early_suspend,
|
||||
.resume = NULL,
|
||||
.resume = start_drawing_late_resume,
|
||||
};
|
||||
|
||||
static ssize_t wait_for_fb_sleep_show(struct kobject *kobj,
|
||||
|
Loading…
Reference in New Issue
Block a user