diff options
| author | Adrian Salido-Moreno <adrianm@codeaurora.org> | 2013-01-14 18:50:56 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:14:12 -0700 |
| commit | e099ce0f99830b99fcd47304ea3dd72dcb1e97e5 (patch) | |
| tree | 211ab5753f71210327389c667a07f66e087a70a3 | |
| parent | e63a361cd8dbf147554332efdfa0935618b0db10 (diff) | |
msm: mdss: fix release all sync points at suspend
Release of sync points is meant to be done when there are no errors
during panel off sequence. Correctly check error condition to get
expected behavior.
CRs-Fixed: 437975
Change-Id: I84a786bd5c1f4db69e482510f08cbf9215a1e44c
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
| -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 0be199f3f104..18fbb3e6d150 100644 --- a/drivers/video/fbdev/msm/mdss_fb.c +++ b/drivers/video/fbdev/msm/mdss_fb.c @@ -589,10 +589,10 @@ static int mdss_fb_blank_sub(int blank_mode, struct fb_info *info, msleep(20); ret = mfd->off_fnc(mfd); - if (ret) { + if (ret) mfd->panel_power_on = curr_pwr_state; + else mdss_fb_release_fences(mfd); - } mfd->op_enable = true; } break; |
