diff options
author | Binbin Zhou <zhoubb@lemote.com> | 2015-10-12 04:48:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-13 06:33:51 +0300 |
commit | 31557ea0337eb3db5937f441bfa028caba5836d6 (patch) | |
tree | ed6a4e4880c63d192bca094939e581feea7d97ac /drivers/staging/sm750fb/sm750.c | |
parent | aeec43da3e4927e33b598b05925046eb1ab9d963 (diff) | |
download | linux-31557ea0337eb3db5937f441bfa028caba5836d6.tar.xz |
staging: sm750fb: Fix the power state error in resume
The PM_EVENT_RESUME state is needed when SM750 resume, otherwise it
will be failed in the second time of continuous suspend/resume.
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Binbin Zhou <zhoubb@lemote.com>
Reviewed-by: Huacai Chen <chenhc@lemote.com>
Reviewed-by: Teddy Wang <teddy.wang@siliconmotion.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/sm750.c')
-rw-r--r-- | drivers/staging/sm750fb/sm750.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 494017f5235c..8c1ecb32f953 100644 --- a/drivers/staging/sm750fb/sm750.c +++ b/drivers/staging/sm750fb/sm750.c @@ -511,6 +511,7 @@ static int lynxfb_resume(struct pci_dev *pdev) fb_set_suspend(info, 0); } + pdev->dev.power.power_state.event = PM_EVENT_RESUME; console_unlock(); return ret; } |