Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

block fbearlysuspend to not break android's crt-off animation

CyanogenMod/android_kernel_samsung_t1@7dfa557

Change-Id: I90bbbcdd1218fe3bfe8ef55144230f30cdcef9d5
  • Loading branch information...
commit 4561f15d59583b27430ab6552b9133f27deb433d 1 parent 26dfe3e
authored

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. +5 0 kernel/power/fbearlysuspend.c
5 kernel/power/fbearlysuspend.c
@@ -13,6 +13,7 @@
13 13 *
14 14 */
15 15
  16 +#include <linux/delay.h>
16 17 #include <linux/earlysuspend.h>
17 18 #include <linux/module.h>
18 19 #include <linux/wait.h>
@@ -33,6 +34,10 @@ static void stop_drawing_early_suspend(struct early_suspend *h)
33 34 int ret;
34 35 unsigned long irq_flags;
35 36
  37 + /* FIXME: earlysuspend breaks androids CRT-off animation
  38 + * Sleep a little bit to get it played properly */
  39 + msleep(500);
  40 +
36 41 spin_lock_irqsave(&fb_state_lock, irq_flags);
37 42 fb_state = FB_STATE_REQUEST_STOP_DRAWING;
38 43 spin_unlock_irqrestore(&fb_state_lock, irq_flags);

0 comments on commit 4561f15

Please sign in to comment.
Something went wrong with that request. Please try again.