Skip to content

Commit

Permalink
hw_backlight: add the dreaded suspend hack that only 4.1 needs
Browse files Browse the repository at this point in the history
;-;
  • Loading branch information
Daz Jones committed May 24, 2013
1 parent a3ff78d commit 724597e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions drivers/video/msm/hw_backlight.c
Expand Up @@ -197,12 +197,8 @@ void pwm_set_backlight(struct msm_fb_data_type *mfd)
{
lcd_panel_type lcd_panel_wvga = LCD_NONE;
/*When all the device are resume that can turn the light*/
if(atomic_read(&suspend_flag))
{
mfd_local = mfd;
backlight_set = TRUE;
return;
}
mfd_local = mfd;
backlight_set = TRUE;
#ifdef CONFIG_ARCH_MSM7X27A


Expand Down

0 comments on commit 724597e

Please sign in to comment.