diff options
author | Huayi Li <[email protected]> | 2013-10-09 10:33:02 +0800 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2013-10-22 09:26:12 +0200 |
commit | 1dea1fd09246ada581a99d0669108eea94b7bfee (patch) | |
tree | 411889b86b4ceb5b7aa1beacb51ce87c4019f390 /net/lapb/lapb_out.c | |
parent | e4bfeda96872bfe6015cd360008b77cd3b981b2b (diff) |
pwm_backlight: avoid short blank screen while doing hibernation
Use SIMPLE_DEV_PM_OPS macro will initialize the member "freeze"
and "thaw" of pwm_backlight_pm_ops as below,
.freeze = suspend_fn,
.thaw = resume_fn,
then during the process of making hibernation snapshot, screen
will be blank at the moment of freezing, and then light at the
moment of thawing.
this is not the right user experience for suspending to disk.
so this patch drops freeze and thaw callback, make the LCD is
always lighting before the final shutdown.
Signed-off-by: Huayi Li <[email protected]>
Signed-off-by: Barry Song <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions