diff options
| author | Padmanabhan Komanduru <pkomandu@codeaurora.org> | 2015-12-30 17:15:53 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:14:35 -0700 |
| commit | 5b6725448a58eb13754c64c40648d86c8ea2f4bf (patch) | |
| tree | 819c2bb1fa0a50a8b8fb7e70f0f7233c8de64685 /include/linux | |
| parent | 45b00409c35788c603d0b69a90e2f856cb0093d9 (diff) | |
msm: mdss: make sure backlight is off during suspend
The backlight of the display panel will not get turned off during
suspend if there are no display commits between suspend/resume
since allow_bl_update will only be set to 'true' after first
valid display commit after resume. This is possible for power
off charging use-case where there will be only one display
commit initially and later just the content of the buffer gets
updated without anymore display commits across suspend/resume.
Make sure the backlight is turned off during suspend by
explicitly setting allow_bl_update to 'true' before trying to
set the backlight to zero.
Change-Id: I10f39e3913e5b40a61066f0bbce3a7a8f1a9441b
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
