diff options
author | Aravind Venkateswaran <aravindh@codeaurora.org> | 2015-03-10 11:42:29 -0700 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:38:36 -0700 |
commit | 77437745cb33fb7838bdef5238fdcdcc0801239a (patch) | |
tree | cb0c177a02371fcc8dca4aeb8234cdba83070f45 /drivers | |
parent | ed28b72bee3d10c52f100f6993f2c921707480bc (diff) |
msm: mdss: swap flags for LP1 and LP2 modes
Use FB_BLANK_NORMAL flag for LP1 power mode and FB_BLANK_VSYNC_SUSPEND
flag for LP2 power mode. This better aligns with the definition of
these power modes since display updates are suspended in LP2 power
mode while updates can still occur in LP1 power mode.
Change-Id: Ica132e38dd1d0bb96368a1bbb51143100f0352cc
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/fbdev/msm/mdss_fb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/msm/mdss_fb.c b/drivers/video/fbdev/msm/mdss_fb.c index 63e7fab10a72..d3e0a883fc4c 100644 --- a/drivers/video/fbdev/msm/mdss_fb.c +++ b/drivers/video/fbdev/msm/mdss_fb.c @@ -71,8 +71,8 @@ #define MAX_FBI_LIST 32 -#define BLANK_FLAG_LP FB_BLANK_VSYNC_SUSPEND -#define BLANK_FLAG_ULP FB_BLANK_NORMAL +#define BLANK_FLAG_LP FB_BLANK_NORMAL +#define BLANK_FLAG_ULP FB_BLANK_VSYNC_SUSPEND static struct fb_info *fbi_list[MAX_FBI_LIST]; static int fbi_list_index; |